Skip to content

Commit 5529e7d

Browse files
authored
Merge branch 'main' into fix/landingpage-product-section
2 parents 48af392 + 6cbfa49 commit 5529e7d

31 files changed

+436
-289
lines changed

docs/hacktoberfest/contribution-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
1919
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.
2020

2121
- Code Contributribution to Keploy Projects includes:
22+
2223
- Bug fixes
2324
- New features
2425
- Design

docusaurus.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ module.exports = {
127127
label: "API Testing (AI)",
128128
to: "/running-keploy/api-test-generator",
129129
},
130-
{
131-
label: "Unit Testing",
132-
to: "/running-keploy/utg-pr-agent",
133-
},
134130
],
135131
},
136132
{

src/components/EnterpriseInstallReminder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function EnterpriseInstallReminder() {
2121
return (
2222
<div style={containerStyle}>
2323
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>
24-
Don’t have Keploy installed yet?
24+
Don’t have Keploy Enterprise installed yet?
2525
</h3>
2626
<p style={{color: isDark ? "#ccc" : undefined}}>
2727
Before running this sample, make sure Keploy Enterprise version is

src/components/Product.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function UTG() {
99
<li className="mt-5 flex flex-col space-y-3 text-lg">
1010
<Link
1111
className="text-foreground-light flex-grow text-sm"
12-
to={useBaseUrl("/running-keploy/unit-test-generator/")}
12+
to={useBaseUrl("/quickstart/k8s-proxy/")}
1313
>
1414
<div className="rounded-lg bg-[color:var(--ifm-card-background-color)] p-5 shadow transition hover:shadow-lg hover:shadow-[color:var(--ifm-card-shadow-color)]">
1515
<div className="flex items-center space-x-4">
@@ -25,15 +25,13 @@ function UTG() {
2525
fill="#FF914D"
2626
/>
2727
</svg>
28-
<h2 className="mb-4 text-xl font-semibold">
29-
Unit Testing Agent
30-
</h2>
28+
<h2 className="mb-4 text-xl font-semibold">K8s Agent</h2>
3129
</div>
3230
<ul>
3331
<li>
3432
<p className="font">
35-
Generate reliable, validated tests as you code, ensuring
36-
coverage and stability.
33+
Live record and replay your tests in your k8s cluster,
34+
ensuring coverage and stability.
3735
</p>
3836
</li>
3937
</ul>

src/components/QuickStartList.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ const quickstarts = [
149149
"A sample URL Shortener app to demonstrate Keploy integration capabilities using Mux and MySQL.",
150150
link: "/docs/quickstart/samples-mysql/#running-app-locally-on-linuxwsl-",
151151
},
152+
153+
/*
152154
{
153155
title: "FastHttp + Postgres",
154156
language: "Go",
@@ -157,6 +159,7 @@ const quickstarts = [
157159
"A sample CRUD application to demonstrate how seamlessly Keploy integrates with FastHttp and Postgres.",
158160
link: "/docs/quickstart/samples-fasthttp/#using-docker-compose-",
159161
},
162+
*/
160163

161164
{
162165
title: "FastHttp + Postgres",

versioned_docs/version-1.0.0/concepts/what-is-a-keploy-sdk.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ keywords:
1414
A Keploy SDK is a language-specific library that offers APIs to do the following:
1515

1616
1. Capture all the network calls like
17+
1718
- API Request
1819
- Dependency calls
1920
- API Response

versioned_docs/version-1.0.0/hacktoberfest/contribution-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
1919
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.
2020

2121
- Code Contributribution to Keploy Projects includes:
22+
2223
- Bug fixes
2324
- New features
2425
- Design

versioned_docs/version-1.0.0/java/integration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ Sync dependencies or to _build.gradle_:
3434
compile 'io.keploy:keploy-sdk:1.0.13'
3535

3636
2. Install Keploy Jar
37+
3738
- 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+
3840
- Add the jar into the `main` directory
41+
3942
- Add `-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
4043

4144
(For example: `-javaagent:/Users/jhon/project/src/main/agent-1.2.5.jar`)
4245

4346
You can set this through 3 ways:-
47+
4448
1. {'<'}details{'>'}{'<'}summary{'>'}
4549
Using Intellij
4650
{'<'}/summary{'>'}
@@ -71,6 +75,7 @@ Sync dependencies or to _build.gradle_:
7175
## Supported Frameworks
7276
7377
- **For Spring based application**
78+
7479
- Add `@Import(KeployMiddleware.class)` below `@SpringBootApplication` in your main class.
7580
7681
```java
@@ -88,6 +93,7 @@ Sync dependencies or to _build.gradle_:
8893
```
8994
9095
- **For Java EE application**
96+
9197
- Specify the below filter above all other filters and servlets in the **web.xml** file.
9298
9399
```xml

versioned_docs/version-1.0.0/java/quickstart/spring-sql.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,15 @@ Sync dependencies or to _build.gradle_:
3939
2. Install Keploy Jar
4040

4141
- 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+
4243
- Add the jar into the `main` directory
44+
4345
- **Copy** `-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
4446

4547
(For example: `-javaagent:/Users/jhon/project/src/main/agent-1.2.5.jar`)
4648

4749
You can set this through 3 ways:-
50+
4851
1. {'<'}details{'>'}{'<'}summary{'>'}
4952
Using Intellij
5053
{'<'}/summary{'>'}
@@ -178,10 +181,12 @@ _NOTE: You will be required to set the `javaagent` again in your test profile ju
178181
```
179182

180183
- **Using IDE:** _(for local use-case we prefer running tests via IDE)_
184+
181185
1. Run your application.
182186
2. You can also run the application with coverage to see the test coverage.
183187

184188
- **Using CLI**
189+
185190
1. Add maven-surefire-plugin to your `pom.xml`. In `<argLine > </ argLine >` **don't** add jacoco agent if you don't want coverage report.
186191

187192
{'<'}details{'>'}{'<'}summary{'>'}

versioned_docs/version-2.0.0/concepts/reference/glossary/behaviour-driven-development.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,26 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
2929
## BDD Fundamentals
3030

3131
1. **Collaboration and Communication:**
32+
3233
- BDD fosters close collaboration among developers, testers, and business stakeholders.
3334
- Open communication ensures that everyone has a shared understanding of the requirements and desired behavior.
3435

3536
2. **User Stories:**
37+
3638
- BDD starts with user stories written from the perspective of the end user, typically formatted as:
3739
"As a [role], I want [feature] so that [benefit]."
3840

3941
3. **Scenarios and Examples:**
42+
4043
- Detailed scenarios illustrate specific behaviors of the software using the Given-When-Then format.
4144
- These scenarios serve as clear acceptance criteria that define when a user story is complete.
4245

4346
4. **Gherkin Language:**
47+
4448
- BDD employs Gherkin, a simple, human-readable syntax that uses keywords like Given, When, Then, And, and But to structure scenarios.
4549

4650
5. **Acceptance Criteria:**
51+
4752
- Scenarios double as acceptance criteria, ensuring all functional requirements are testable and clearly defined.
4853

4954
6. **Automated Testing:**
@@ -52,12 +57,15 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
5257
## Techniques of BDD
5358

5459
1. **Three Amigos Meetings:**
60+
5561
- A collaborative session involving a developer, tester, and business analyst to discuss and refine user stories and scenarios, ensuring alignment across teams.
5662

5763
2. **Example Mapping:**
64+
5865
- A technique to break down user stories into concrete examples, helping to identify edge cases and clarify requirements.
5966

6067
3. **Writing Gherkin Scenarios:**
68+
6169
- Scenarios are written in Gherkin syntax. For example:
6270
```gherkin
6371
Scenario: User logs in successfully
@@ -67,6 +75,7 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
6775
```
6876
6977
4. **Automating Scenarios with BDD Tools:**
78+
7079
- 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:
7180
7281
```java
@@ -87,9 +96,11 @@ Behavior Driven Development (BDD) is an Agile methodology that emphasizes collab
8796
```
8897
8998
5. **Continuous Integration (CI) and Continuous Delivery (CD):**
99+
90100
- BDD scenarios are integrated into CI/CD pipelines to run automated tests with every build, ensuring that new changes do not break existing functionality.
91101
92102
6. **Living Documentation:**
103+
93104
- 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.
94105
95106
7. **Refactoring:**

0 commit comments

Comments
 (0)