Page MenuHomeSoftware Heritage

README.md: Update requirements and document how to run the tests
ClosedPublic

Authored by anlambert on Aug 26 2019, 5:13 PM.

Details

Summary

The details on how to run the backend and frontend tests of swh-web were
missing in the README. So add a section documenting the corresponding make
targets to easily run the those tests.

Depends on D1915

Diff Detail

Repository
rDWAPPS Web applications
Branch
document-make-test-targets
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7483
Build 10691: Cypress tests for swh-web diffsJenkins
Build 10690: tox-on-jenkinsJenkins
Build 10689: arc lint + arc unit

Event Timeline

I think it would be good to add fast in the name of targets that aren't full, so it's more obvious they don't run all the tests.

README.md
35–47

This should be a pip command using the requirement files, or it will get out of date

This revision is now accepted and ready to land.Aug 28 2019, 10:37 AM

I think it would be good to add fast in the name of targets that aren't full, so it's more obvious they don't run all the tests

I prefer to leave them like that to keep their name short. Plus, those make targets will be replaced by a proper Python CLI soon.

README.md
35–47

Ack, I will replace those lists by a link to the requirement files

I prefer to leave them like that to keep their name short.

Shouldn't be an issue with autocomplete

Update: Rebase and replace requirement lists by links to requirement files

README.md
35–47

It could help to mention they can be installed with pip -r requirements.txt

Update: rebase and add pip command invocation for installing depedencies

This revision was automatically updated to reflect the committed changes.