Commit 328b8ee0 authored by Adrian Kosmaczewski's avatar Adrian Kosmaczewski

Added a makefile to run all tests in the command line

parent d38284bd
all: test
test:
cd Android; \
./gradlew test; \
cd ../iOS; \
xcodebuild -scheme Conway -destination 'platform=iOS Simulator,name=iPhone 8' test; \
cd ../Web; \
npm test; \
cd ..;
......@@ -26,7 +26,15 @@ All applications have the same structure:
- There are some small differences in the implementations to take care of some conceptual and performance requirements in each of the supported platforms.
- The algorithms privilege readability and study rather than performance and efficiency.
- The lattice has no periodic boundary conditions.
- The three applications have exactly the same unit tests. In the web application they are built with [Mocha](http://mochajs.org/) and can be run on the command line with `npm test`.
- The three applications have exactly the same unit tests.
## Running Tests
- The iOS tests can be run with `xcodebuild -scheme Conway -destination 'platform=iOS Simulator,name=iPhone 8' test`.
- The Android tests can be run with `./gradlew test`.
- The web application tests are built with [Mocha](http://mochajs.org/) and can be run on the command line with `npm test`.
The root of the project contains a `Makefile` with a `test` task that will execute all tests at once.
## License
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment