Add Category Support to nunitlite Runner
Bug #1172979 reported by
Tyrel Alastair Hunter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Fix Released
|
Medium
|
Charlie Poole | ||
NUnitLite |
Fix Released
|
Medium
|
Tyrel Alastair Hunter |
Bug Description
This Feature is to bring the Category Support from NUnit 3 -> nunitlite so that you can execute all tests in a specified category from using a command line option
Related branches
lp:~ialastairhunter/nunitlite/categoryfilter
- Charlie Poole: Needs Fixing (code review)
-
Diff: 6121 lines (+3084/-2720)19 files modifiedsrc/framework/Api/ITest.cs (+103/-96)
src/framework/Api/ITestFilter.cs (+6/-1)
src/framework/Internal/Builders/NUnitTestCaseBuilder.cs (+406/-400)
src/framework/Internal/Filters/SimpleCategoryExpression.cs (+49/-0)
src/framework/Internal/RandomGenerator.cs (+184/-0)
src/framework/Internal/TestExecutionContext.cs (+622/-605)
src/framework/Internal/TestFilter.cs (+9/-1)
src/framework/Internal/Tests/Test.cs (+415/-404)
src/framework/Runner/CommandLineOptions.cs (+32/-2)
src/framework/Runner/TextUI.cs (+260/-237)
src/framework/TestContext.cs (+257/-249)
src/framework/nunitlite-2.0.csproj (+8/-6)
src/framework/nunitlite-3.5.csproj (+8/-6)
src/framework/nunitlite-4.0.csproj (+8/-6)
src/framework/nunitlite-4.5.csproj (+366/-364)
src/framework/nunitlite-netcf-2.0.csproj (+328/-326)
src/framework/nunitlite-netcf-3.5.csproj (+3/-1)
src/framework/nunitlite-sl-4.0.csproj (+10/-8)
src/framework/nunitlite-sl-5.0.csproj (+10/-8)
Changed in nunitlite: | |
assignee: | nobody → Tyrel Alastair Hunter (ialastairhunter) |
Changed in nunitlite: | |
status: | New → In Progress |
Changed in nunitlite: | |
importance: | Undecided → Medium |
Changed in nunitlite: | |
milestone: | none → 0.9 |
Changed in nunitlite: | |
status: | In Progress → Fix Committed |
Changed in nunitlite: | |
status: | Fix Committed → Fix Released |
Changed in nunit-3.0: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.9.6 |
Changed in nunit-3.0: | |
assignee: | nobody → Charlie Poole (charlie.poole) |
status: | Triaged → Fix Committed |
Changed in nunit-3.0: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for filing this. We need to consider whether to support...
1. include/exclude like the existing nunit-console
2. a more generic filter option, possibly extensible to properties
3. an category expression syntax, as in nunit-console
4. a different syntax
My inclination is to just go for a single option (/include, /filter,
other?) and have a syntax that allows negating choices.
The current syntax with + and - has caused some problems because it doesn't
let categories have a hyphen in their names. I'd be inclined to use and, or
and not in a new syntax.
We could implement it without expressions at first, of course. No need to
do more than what is already needed.
Charlie
On Thu, Apr 25, 2013 at 5:46 PM, Tyrel Alastair Hunter <
<email address hidden>> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1172979 /bugs.launchpad .net/nunitlite/ +bug/1172979/ +subscriptions
>
> This Feature is to bring the Category Support from NUnit 3 -> nunitlite
> so that you can execute all tests in a specified category from using a
> command line option
>
> ** Affects: nunitlite
> Importance: Undecided
> Assignee: Tyrel Alastair Hunter (ialastairhunter)
> Status: New
>
> ** Changed in: nunitlite
> Assignee: (unassigned) => Tyrel Alastair Hunter (ialastairhunter)
>
> --
> You received this bug notification because you are subscribed to
> NUnitLite.
> https:/
>
> Title:
> Add Category Support to nunitlite Runner
>
> To manage notifications about this bug go to:
> https:/
>