You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing the test suite will be done by running python manage.py test as is conventional in Django-based applications.
Testing will work both locally and in travis-CI, and will execute the same tests.
build steps in travis-CI will be declared in .travis.yml file.
build steps for local environment will be declared in Vagrantfile.
Testing framework should have the following characteristics:
Based on a common Python testing framework, preferably pytest.
Testing Framework is built and optimized for Functional Testing and (somewhat) below. No Orchestration testing, no data pipeline monitoring
Test Cases don't rely on existing DB state in order to run tests. Tests create their own objects (Knesset, Parties, MKs etc.) in order to test the site's behavior. Possibly with Factory Boy.
The current travis build runs the tests in kikar/tests/test_get_basic_pages.py, which implement a sanity-check suite that the main url endpoints in kikar return a 200 status code. Those tests may be rewritten, but the sanity check should be at least maintained.
Otherwise, All existing testing loose-ends (frameworks and test-cases) will be integrated and/or removed.
The text was updated successfully, but these errors were encountered:
Requirements and Specifications:
python manage.py test
as is conventional in Django-based applications..travis.yml
file.Vagrantfile
.pytest
.kikar/tests/test_get_basic_pages.py
, which implement a sanity-check suite that the main url endpoints in kikar return a 200 status code. Those tests may be rewritten, but the sanity check should be at least maintained.The text was updated successfully, but these errors were encountered: