Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike - Move away from legacy JUnit part #11

Closed
tkohegyi opened this issue May 10, 2015 · 5 comments
Closed

Spike - Move away from legacy JUnit part #11

tkohegyi opened this issue May 10, 2015 · 5 comments
Assignees

Comments

@tkohegyi
Copy link
Contributor

Check the content of junit-team/junit4#1139.
Based on that Gepard uses both junit.framework (legacy) and org.junit (actual) classes, and need to investigate how to get rid of all legacy parts, or how to alter Gepard to enable all JUnit annotations. Right now @test annotation is working.

tkohegyi added a commit that referenced this issue Jun 5, 2015
…w on

- sonar target become more flexible
@tkohegyi tkohegyi self-assigned this Jun 5, 2015
tkohegyi added a commit that referenced this issue Jun 5, 2015
tkohegyi added a commit that referenced this issue Jun 8, 2015
#11 add example tests those use @BeforeClass, @afterclass, @before and @after annotations
#11 (partial) move away Junit3 Asserts to Junit4 Asserts.
#12 add Watchable condition for core + implement example watchable solution for WebDriver
@tkohegyi
Copy link
Contributor Author

branch j4 contains the spike

@tkohegyi
Copy link
Contributor Author

new version will require Java 8 (as use default method implementations in interfaces)

tkohegyi added a commit that referenced this issue Jun 18, 2015
@tkohegyi
Copy link
Contributor Author

timeout handling from old version is deleted, from now on we can use @rule Timeout, @test(timeout), so what JUnit4 offers.

tkohegyi added a commit that referenced this issue Jun 18, 2015
…er annotation, rather the getDataDrivenTestParameter(int byPosition|String byParameterName) method can be used to assign the actual data to the parameters.

@TestParameter annotation can be deleted soon
tkohegyi added a commit that referenced this issue Jun 18, 2015
…ncluding the built-in Data Feeders) is working properly with the new approach.
@tkohegyi
Copy link
Contributor Author

testlist structure is changed, class level timeout part is removed
in addition, no need to use @TestParameter annotations in the future

tkohegyi added a commit that referenced this issue Jun 24, 2015
…ated, therefore that test type is removed. Refactor of Selenium related part was started.
tkohegyi added a commit that referenced this issue Jun 25, 2015
…ever does not work properly. Still need to work on it, and it may happen that won't work in a satisfactory way. Got lower priority, as this problem is not critical from release point of view.
tkohegyi added a commit that referenced this issue Jun 28, 2015
…pard is prepared for final removal of JUnit 3.x dependency.
tkohegyi added a commit that referenced this issue Jul 1, 2015
tkohegyi added a commit that referenced this issue Jul 3, 2015
Changes:
- remove not used TestParameter annotation file
- Add example test for BDD Feature from JIRA Description field + Selenium + JBehave usage
- Add brand new module: gepard-rest
- Add JireSiteHandler.java - provides several Jira ticket handling functions
- Fix checkstyle version problems
- Address all checkstyle problems
- Fix broken unit tests
@tkohegyi tkohegyi mentioned this issue Jul 3, 2015
Merged
tkohegyi added a commit that referenced this issue Jul 4, 2015
Full implementation of #11, including:

- Get rid of all JUnit 3 based classes
- Introduce JUnit 4 based approach
- Update examples package
- Add gepard-rest package with Jira connection possibility
tkohegyi added a commit that referenced this issue Jul 4, 2015
#11 resolved, Wiki reviewed, reflects V4.x series.
tkohegyi added a commit that referenced this issue Jul 4, 2015
@tkohegyi
Copy link
Contributor Author

tkohegyi commented Jul 4, 2015

Ok, done.

@tkohegyi tkohegyi closed this as completed Jul 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant