Skip to content

Commit

Permalink
Test refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Apr 13, 2015
1 parent 137c534 commit 657232a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public class FileSystemRequirementsTagProvider extends AbstractRequirementsTagPr
private static final List<TestTag> NO_TEST_TAGS = Lists.newArrayList();
public static final String STORY_EXTENSION = "story";
public static final String FEATURE_EXTENSION = "feature";
private static final List<Requirement> NO_CHILD_REQUIREMENTS = Lists.newArrayList();

private final String rootDirectoryPath;
private final NarrativeReader narrativeReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.junit.runners;

import net.serenitybdd.junit.runners.SerenityRunner;
import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.steps.StepEventBus;
import net.thucydides.core.util.MockEnvironmentVariables;
Expand Down Expand Up @@ -62,7 +63,7 @@ public WebDriver newFirefoxDriver(Capabilities profile) {
@Test
public void the_test_runner_records_the_steps_as_they_are_executed() throws InitializationError {

ThucydidesRunner runner = new ThucydidesRunner(SamplePassingScenario.class, webDriverFactory);
SerenityRunner runner = new SerenityRunner(SamplePassingScenario.class, webDriverFactory);

runner.run(new RunNotifier());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SamplePassingScenario {
@Steps
public SampleScenarioSteps steps;

@Test(timeout=10000)
@Test
@WithTagValuesOf({"story:simple scenario", "iteration:I1"})
public void happy_day_scenario() throws Throwable {
steps.stepThatSucceeds();
Expand Down

0 comments on commit 657232a

Please sign in to comment.