Application consists of two parts:
- Backend (scala + akka-http)
- Frontend (React.js)
./backend/src/test/scala/com/khroliz/FormatterSpec.scala
./backend/src/test/scala/com/khroliz/RoutesSpec.scala
./frontend/src/components/Result/Result.test.jsx
./frontend/src/components/FormattingForm/FormattingForm.test.jsx
./frontend/src/App.test.jsx
./end_to_end_tests/src/test/scala/com/khroliz/EndToEndSpec.scala
./backend/src/test/scala/com/khroliz/FormatterSpecification.scala
Sbt plugin in ./backend/project/plugins.sbt
and ./backend/stryker4s.conf
config file.
backend $ sbt test
backend $ sbt stryker
frontend $ CI=true npm test
end_to_end_test $ ./run.sh