You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -395,7 +395,7 @@ by using the following [maven-surefire-plugin configuration](http://maven.apache
395
395
<version>${maven.surefire.version}</version>
396
396
<configuration>
397
397
<includes>
398
-
<include>AnimalsTest.java</include>
398
+
<include>animals/AnimalsTest.java</include>
399
399
</includes>
400
400
</configuration>
401
401
</plugin>
@@ -523,9 +523,9 @@ be more than sufficient for your Continuous Integration or test-automation needs
523
523
Here's a reminder that running any [single JUnit test via Maven](https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html)
524
524
can be done by:
525
525
```
526
-
mvn test -Dtest=CatsTest
526
+
mvn test -Dtest=CatsRunner
527
527
```
528
-
Where `CatsTest` is the JUnit class name (in any package) you wish to run.
528
+
Where `CatsRunner` is the JUnit class name (in any package) you wish to run.
529
529
530
530
Karate is flexible, you can easily over-write config variables within each individual test-script -
531
531
which is very convenient when in dev-mode or rapid-prototyping.
@@ -542,7 +542,7 @@ import org.junit.BeforeClass;
542
542
importorg.junit.runner.RunWith;
543
543
544
544
@RunWith(Karate.class)
545
-
publicclassCatsTest {
545
+
publicclassCatsRunner {
546
546
547
547
@BeforeClass
548
548
publicstaticvoidbefore() {
@@ -606,7 +606,7 @@ script-steps are treated the same no matter whether they start with the keyword
606
606
whatever makes sense for you. You could even have all the steps start with `When`
607
607
and Karate won't care.
608
608
609
-
In fact Cucumber supports the ['catch-all' symbol `*`](https://www.relishapp.com/cucumber/cucumber/docs/gherkin/using-star-notation-instead-of-given-when-then) -
609
+
In fact Cucumber supports the [catch-all symbol '`*`'](https://www.relishapp.com/cucumber/cucumber/docs/gherkin/using-star-notation-instead-of-given-when-then) -
610
610
instead of forcing you to use `Given`, `When` or `Then`. This is perfect for those
611
611
cases where it really doesn't make sense - for example the [`Background`](#script-structure)
612
612
section or when you use the [`def`](#def) or [`set`](#set) syntax. When eyeballing a test-script,
@@ -813,7 +813,7 @@ to be heavily re-used all across your project. And yes, relative paths will wor
0 commit comments