The unit engine requires the use of the junit_formatter to be configured properly.
The linter depends on the development version of dogma
Differential D14430
Add linting and unit testing support for Elixir tolbrino on Nov 7 2015, 9:17 AM. Authored by Tags Referenced Files
Subscribers
Details
The unit engine requires the use of the junit_formatter to be configured properly. The linter depends on the development version of dogma
Diff Detail
Event TimelineComment Actions I should note that I'm not used to working with PHP, so feel free to criticize. I tried to stay close to the other unit and lint classes. Comment Actions As per https://secure.phabricator.com/book/phabcontrib/article/contributing_code/, you should file a task for this change before you can get any attention.
Does this mean it is likely to break in a month?
Can you put this into the test runner code, so that configuration is easier for users? Comment Actions Thanks for the pointer, I created the appropriate tasks: T9796 and T9797
Well, it means a developer must use the HEAD of the git repository instead of the latest tagged version.
It is already in the file's documentation, what else are you referring to? Comment Actions
As in, the installation instructions are "clone HEAD of some repo"? Also, if there's no official version that supports this code, they can decide to change their api, making stop working.
I mean, code the engine/linter in such a way that the users don't need to read documentation. Adding flags, for example. I think you'll need to wait for the Elixir/dogma code to stabilize before getting any serious consideration for this feature. Comment Actions Interesting. I will add some additional info regarding this issue to the instructions.
This wouldn't be feasable since using the junit formatter requires multiple changes in a project's source code, which if being done magically by the unit engine would need to be kept in sync with whatever changes in the formatter itself.
Fine by me. I work off a working fork in the meantime. Elixir is stable, so I only see dogma as the moving target. |