Skip to content

Commit

Permalink
Refactor: Change the directory structure and signoff
Browse files Browse the repository at this point in the history
Signed-off-by: IllTamer <78360471+IllTamer@users.noreply.github.com>
  • Loading branch information
IllTamer committed Nov 29, 2023
1 parent 53bdf86 commit 6a0d0af
Show file tree
Hide file tree
Showing 55 changed files with 16 additions and 249 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install -DskipTests
run: mvn clean install -DskipTests -f samples-java
6 changes: 3 additions & 3 deletions samples-java/.gitignore → .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
../.idea/
.idea/
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
Expand Down Expand Up @@ -175,8 +175,8 @@ Temporary Items
.history
.ionide
.env
../../../private/samples-java/springboot-jpa/target/springbootapp-0.0.1-SNAPSHOT.jar
../../../private/samples-java/springboot-jpa/target/springbootapp-0.0.1-SNAPSHOT.jar.original
springboot-jpa/target/springbootapp-0.0.1-SNAPSHOT.jar
springboot-jpa/target/springbootapp-0.0.1-SNAPSHOT.jar.original
.jar
# Support for Project snippet scope

Expand Down
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/compiler.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/dataSources.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/encodings.xml

This file was deleted.

20 changes: 0 additions & 20 deletions .idea/jarRepositories.xml

This file was deleted.

22 changes: 0 additions & 22 deletions .idea/misc.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/sqldialects.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mvn clean install -Dmaven.test.skip=true
`-javaagent:path of agent jar` like this 👇.


![Edit_configurations](/Edit-configurations.png "Edit configurations")
![Edit_configurations](src/main/resources/Edit-configurations.png "Edit configurations")


## Generate testcases
Expand Down Expand Up @@ -165,16 +165,16 @@ or by querying through the browser `http://localhost:8080/api/employees/1`
Now both these API calls were captured as **editable** testcases and written to `test/e2e/keploy-tests` folder. The
keploy directory would also have `mocks` folder.

![testcases](/test-cases.png "Recorded Test cases and mocks")
![testcases](src/main/resources/test-cases.png "Recorded Test cases and mocks")

Now, let's see the magic! 🪄💫

## Test mode

There are 2 ways to test the application with Keploy.

1. [Unit Test File](/README.md#testing-using-unit-test-file)
2. [Without Unit Test File](/README.md#testing-without-using-unit-test-file)
1. [Unit Test File](README.md#testing-using-unit-test-file)
2. [Without Unit Test File](README.md#testing-without-using-unit-test-file)

### **Testing using Unit Test File**

Expand Down Expand Up @@ -317,7 +317,7 @@ Hibernate: select employee0_.id as id1_0_0_, employee0_.email as email2_0_0_, em
2022-08-26 14:13:19.414 INFO 11560 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
```
![testruns](/test-runs-success.png "Recent testruns")
![testruns](src/main/resources/test-runs-success.png "Recent testruns")
## Let's add a Bug in the App
Expand Down Expand Up @@ -345,7 +345,7 @@ You'll notice the failed test-case in the output.
To deep dive the problem go to [test runs](http://localhost:6789/testruns)
![testruns](/test-runs-fail.png "Recent testruns")
![testruns](src/main/resources/test-runs-fail.png "Recent testruns")
**In case of any query, refer to video below,**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mvn clean install -Dmaven.test.skip=true
`-javaagent:path of agent jar` like this 👇.


![Edit_configurations](/Edit-configurations.png "Edit configurations")
![Edit_configurations](src/main/resources/Edit-configurations.png "Edit configurations")


## Generate testcases
Expand Down Expand Up @@ -165,16 +165,16 @@ or by querying through the browser `http://localhost:8080/api/employees/1`
Now both these API calls were captured as **editable** testcases and written to `test/e2e/keploy-tests` folder. The
keploy directory would also have `mocks` folder.

![testcases](/src/main/resources/test-cases.png "Recorded Test cases and mocks")
![testcases](src/main/resources/test-cases.png "Recorded Test cases and mocks")

Now, let's see the magic! 🪄💫

## Test mode

There are 2 ways to test the application with Keploy.

1. [Unit Test File](/README.md#testing-using-unit-test-file)
2. [Without Unit Test File](/README.md#testing-without-using-unit-test-file)
1. [Unit Test File](README.md#testing-using-unit-test-file)
2. [Without Unit Test File](README.md#testing-without-using-unit-test-file)

### **Testing using Unit Test File**

Expand Down Expand Up @@ -317,7 +317,7 @@ Hibernate: select employee0_.id as id1_0_0_, employee0_.email as email2_0_0_, em
2022-08-26 14:13:19.414 INFO 11560 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
```
![testruns](/src/main/resources/test-runs-success.png "Recent testruns")
![testruns](src/main/resources/test-runs-success.png "Recent testruns")
## Let's add a Bug in the App
Expand Down Expand Up @@ -345,7 +345,7 @@ You'll notice the failed test-case in the output.
To deep dive the problem go to [test runs](http://localhost:6789/testruns)
![testruns](/src/main/resources/test-runs-fail.png "Recent testruns")
![testruns](src/main/resources/test-runs-fail.png "Recent testruns")
**In case of any query, refer to video below,**
Expand Down
File renamed without changes.

0 comments on commit 6a0d0af

Please sign in to comment.