Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Add ability to specify classes with tests #137

Closed
extsoft opened this issue Feb 18, 2018 · 3 comments
Closed

Add ability to specify classes with tests #137

extsoft opened this issue Feb 18, 2018 · 3 comments

Comments

@extsoft
Copy link
Member

extsoft commented Feb 18, 2018

A user may want to specify tests classes within the code instead of seeking of the tests.
It may look like

new Sun(
    new TestNGKernel(
        new SuiteFromClasses(
            Test1.class,
            Test2.class,
            Test3.class
        )
    )
).shine();
@extsoft extsoft added this to the 0.4.0 milestone Jul 15, 2018
@extsoft extsoft removed this from the 0.4.0 milestone Jan 3, 2019
extsoft added a commit that referenced this issue Jan 13, 2019
The change is made to build more obvious and unambiguous namespace.

The rename was made using deprecation mechanism. This means the old
class is still available, however, a new one is used in the code.

#137
extsoft added a commit that referenced this issue Jan 14, 2019
The change is made to build more obvious and unambiguous namespace.

The rename was made using deprecation mechanism. This means the old
class is still available, however, a new one is used in the code.

#137
extsoft added a commit that referenced this issue Jan 14, 2019
Now there are two suites (SuiteFromClasses and SuiteFromFileSystem)
which can represent a SunshineSuite. SuiteFromClasses allows creation
a test suite based on predefined classes. Any of these classes can be
used while a custom suite (specific for a test runner) is build.

Also, TestFromClass is created as we need to represent a class as an
instance of SunshineTest.

All relevant documentation and unit tests are updated.

#137
@extsoft extsoft changed the title Add ability specify classes with tests Add ability to specify classes with tests Jan 14, 2019
@extsoft
Copy link
Member Author

extsoft commented Jan 14, 2019

@rultor please release, the tag is 0.5.0.

@rultor
Copy link
Collaborator

rultor commented Jan 14, 2019

@rultor please release, the tag is 0.5.0.

@extsoft OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Jan 14, 2019

@rultor please release, the tag is 0.5.0.

@extsoft Done! FYI, the full log is here (took me 15min)

@extsoft extsoft closed this as completed Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants