have different micro apps tested on different levels (unit, integration, system, system integration)
- there are 3 different apps running here
- app_frontend
- ruby based (slim templates) (should/could be substituted from a node app)
- serves the frontend
- app_backend
- ruby based
- serves the endpoints for the logics
- app_dependency
- ruby based
- serves extra support to the backend app
- app_frontend
- the various apps are tested with rspec for now (the frontend app could get unit and integration testing examples in node)
- start the app to test
- frontend (inside his folder)
- ruby app_frontend.rb
- http://localhost:8080
- start mock server of the backend
- yarn backend-mockserver
- backend (inside his folder)
- ruby app_backend.rb
- http://localhost:3000/?name=my%20name
- dependency backend (inside his folder)
- ruby app_dependency.rb
- http://localhost:3001
- frontend (inside his folder)
- run tests
- bundle exec rspec
- see code coverage (in browser)
- ./coverage/index.html
- web app framework
- templates for writing frontend files (html, css, javascript)
- support for javascript of the frontend
- rest client
- mockserver of the backend app
- test framework
- allow disabling network in integration tests
- support for backend integration api tests
- browser automation
- static analysis
- test coverage