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: docs/hacktoberfest/contribution-guide.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
19
19
Anyone around the globe who desires to help drive the growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to participate.
20
20
21
21
- Code Contributribution to Keploy Projects includes:
Copy file name to clipboardExpand all lines: versioned_docs/version-1.0.0/hacktoberfest/contribution-guide.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
19
19
Anyone around the globe who desires to help drive the growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to participate.
20
20
21
21
- Code Contributribution to Keploy Projects includes:
Copy file name to clipboardExpand all lines: versioned_docs/version-1.0.0/java/integration.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,17 @@ Sync dependencies or to _build.gradle_:
34
34
compile 'io.keploy:keploy-sdk:1.0.13'
35
35
36
36
2. Install Keploy Jar
37
+
37
38
- Download the latest jar from [here](https://search.maven.org/artifact/io.keploy/keploy-sdk/1.2.6/jar) (eg: 1.2.6) to mock external/internal dependency calls like DB queries, GMaps, S3 etc..
39
+
38
40
- Add the jar into the `main` directory
41
+
39
42
- Add `-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
Copy file name to clipboardExpand all lines: versioned_docs/version-1.0.0/java/quickstart/spring-sql.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,15 @@ Sync dependencies or to _build.gradle_:
39
39
2. Install Keploy Jar
40
40
41
41
- Download the latest jar from [here](https://search.maven.org/artifact/io.keploy/keploy-sdk/1.2.6/jar) (eg: 1.2.6) to mock external/internal dependency calls like DB queries, GMaps, S3 etc..
42
+
42
43
- Add the jar into the `main` directory
44
+
43
45
-**Copy**`-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
Copy file name to clipboardExpand all lines: versioned_docs/version-2.0.0/concepts/reference/glossary/behaviour-driven-development.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,21 +29,26 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
29
29
## BDD Fundamentals
30
30
31
31
1.**Collaboration and Communication:**
32
+
32
33
- BDD fosters close collaboration among developers, testers, and business stakeholders.
33
34
- Open communication ensures that everyone has a shared understanding of the requirements and desired behavior.
34
35
35
36
2.**User Stories:**
37
+
36
38
- BDD starts with user stories written from the perspective of the end user, typically formatted as:
37
39
"As a [role], I want [feature] so that [benefit]."
38
40
39
41
3.**Scenarios and Examples:**
42
+
40
43
- Detailed scenarios illustrate specific behaviors of the software using the Given-When-Then format.
41
44
- These scenarios serve as clear acceptance criteria that define when a user story is complete.
42
45
43
46
4.**Gherkin Language:**
47
+
44
48
- BDD employs Gherkin, a simple, human-readable syntax that uses keywords like Given, When, Then, And, and But to structure scenarios.
45
49
46
50
5.**Acceptance Criteria:**
51
+
47
52
- Scenarios double as acceptance criteria, ensuring all functional requirements are testable and clearly defined.
48
53
49
54
6.**Automated Testing:**
@@ -52,12 +57,15 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
52
57
## Techniques of BDD
53
58
54
59
1.**Three Amigos Meetings:**
60
+
55
61
- A collaborative session involving a developer, tester, and business analyst to discuss and refine user stories and scenarios, ensuring alignment across teams.
56
62
57
63
2.**Example Mapping:**
64
+
58
65
- A technique to break down user stories into concrete examples, helping to identify edge cases and clarify requirements.
59
66
60
67
3.**Writing Gherkin Scenarios:**
68
+
61
69
- Scenarios are written in Gherkin syntax. For example:
62
70
```gherkin
63
71
Scenario: User logs in successfully
@@ -67,6 +75,7 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
67
75
```
68
76
69
77
4. **Automating Scenarios with BDD Tools:**
78
+
70
79
- Tools like Cucumber, SpecFlow, Behave, JBehave, Gauge, and Reqnroll parse Gherkin syntax and link it to executable test code. For example, using Cucumber with Java:
71
80
72
81
```java
@@ -87,9 +96,11 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
87
96
```
88
97
89
98
5. **Continuous Integration (CI) and Continuous Delivery (CD):**
99
+
90
100
- BDD scenarios are integrated into CI/CD pipelines to run automated tests with every build, ensuring that new changes do not break existing functionality.
91
101
92
102
6. **Living Documentation:**
103
+
93
104
- BDD scenarios act as up-to-date documentation that evolves with the system, making it accessible and understandable to both technical and non-technical stakeholders.
0 commit comments