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

Provides Arquillian As Junit Rule to use it with other runner #147

Closed
wants to merge 34 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3e992cb
Extracting essential functionality from Arquillian JUnit runner to a …
ahus1 Jun 16, 2016
d8065ca
adapting a set of tests for the variant with a rule
ahus1 Jun 16, 2016
64b4a56
Fixes failing tests
dipak-pawar Dec 18, 2017
411d490
Renamed variables
dipak-pawar Dec 18, 2017
050c854
Renamed ArquillianClass1 to ClassWithArquillianRunner
dipak-pawar Dec 18, 2017
ffe067d
Renamed ArquillianClass2 to ClassWithArquillianClassAndMethodRule
dipak-pawar Dec 18, 2017
d5bcfe2
Merge branch 'master' of https://github.com/arquillian/arquillian-cor…
dipak-pawar Dec 18, 2017
76860d3
Removes diamond operator
dipak-pawar Dec 18, 2017
946404a
Renamed Rules
dipak-pawar Dec 18, 2017
763eb80
Corrected comment spelling
dipak-pawar Dec 18, 2017
2e865cd
Renamed class to make it consistent
dipak-pawar Dec 18, 2017
93e53d4
Adds documentation for Rule
dipak-pawar Dec 18, 2017
5a01a8c
coorected spelling for testclass
dipak-pawar Dec 18, 2017
694d310
Updated javadoc with changed rule name
dipak-pawar Dec 18, 2017
bb10ada
Changed indentation to 4 spaces
dipak-pawar Dec 18, 2017
929a08f
Indentation with 4 spaces
dipak-pawar Dec 18, 2017
e9e95ee
fixed failing tests
dipak-pawar Dec 18, 2017
0c37048
Indentation with 4 spaces
dipak-pawar Dec 18, 2017
c323b5e
Modifies documentation
dipak-pawar Dec 19, 2017
171dad7
Removes comment from test classes
dipak-pawar Dec 20, 2017
72378f2
Fixes formatting for testclass
dipak-pawar Dec 20, 2017
7697dc2
Updates documentation for new rules
dipak-pawar Dec 20, 2017
b61d323
Uses ArquillianTest as outer rule correctly
dipak-pawar Dec 20, 2017
6a85e82
Changed exception message to make it more readable.
dipak-pawar Dec 20, 2017
0b38cde
Removes redundant code which throws exception if result failed
dipak-pawar Dec 20, 2017
47d8f7e
Corrects usage of MethodRuleChain
dipak-pawar Dec 20, 2017
cb2b6f3
Adds more readable message for exception
dipak-pawar Dec 20, 2017
2ad20bb
Adds tests for ArquillianTestMethod to use it without ArquillianTestC…
dipak-pawar Dec 20, 2017
7f9b27c
Updates documentations for not enforcing user to define both rules
dipak-pawar Dec 20, 2017
ad1d4a6
Changed copyright year from 2009 to 2017
dipak-pawar Dec 20, 2017
67fd003
Revert "Changed copyright year from 2009 to 2017"
dipak-pawar Dec 20, 2017
ec4fbbd
Removes license header
dipak-pawar Dec 20, 2017
eac2088
moves MethodRuleChain to main
dipak-pawar Dec 20, 2017
46b2f48
Merge branch 'master' into issue_145
bartoszmajsak Dec 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Uses ArquillianTest as outer rule correctly
dipak-pawar committed Dec 20, 2017
commit b61d32347575e2069d2eacfb0441f77d1094c79c
Original file line number Diff line number Diff line change
@@ -35,10 +35,7 @@ public class ClassWithArquillianClassAndMethodRuleWithExceptionInBeforeRule {
public static ArquillianTestClass arquillianTestClass = new ArquillianTestClass();

@Rule
public ArquillianTest arquillianTest = new ArquillianTest();

@Rule
public MethodRule rule = MethodRuleChain.outer(arquillianTest).around(new MethodRule() {
public MethodRule rule = MethodRuleChain.outer(new ArquillianTest()).around(new MethodRule() {
@Override
public Statement apply(final Statement base, FrameworkMethod method, Object target) {
return new Statement() {