Adds support for running all unit tests with NoseTestEngine.
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARC607cd77ca10f: Add support for '--everything' in NoseTestEngine
ran arc unit --everything and got unit test results
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/unit/engine/NoseTestEngine.php | ||
---|---|---|
18 | I think this is probably not correct -- if you cd into a subdirectory before running arc land, I think it will run everything in that subdirectory? (This engine might already have a problem with that anyway, though.) The correct path to use should be $root = $this->getWorkingCopy()->getProjectRoot();, I think. |
@epriestley: you're right, now it's better.
The engine shouldn't have a problem with relative directories when running without --everything since it uses git ls-files to find modified python files to test.
So it should be good now :)
also I got coverage working, just had to run coverage erase to clear my coverage cache
This didn't make it up to the staging area for whatever reason so "land revision" doesn't work, but you should have commit access now. You may need to point your origin at this server instead of GitHub.