forked from adamwong246/testeranto
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
448e46d
commit 6b38d64
Showing
50 changed files
with
1,587 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/-1/before.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hello artificer |
Binary file added
BIN
+12.7 KB
...alReact/ClassicalComponent.esbuild-puppeteer.test.ts/0/beforeEachScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.2 KB
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/0/screencap.mp4
Binary file not shown.
Binary file added
BIN
+12.7 KB
...alReact/ClassicalComponent.esbuild-puppeteer.test.ts/1/beforeEachScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22 KB
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/1/screencap.mp4
Binary file not shown.
Binary file added
BIN
+12.7 KB
...alReact/ClassicalComponent.esbuild-puppeteer.test.ts/2/beforeEachScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.8 KB
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/2/screencap.mp4
Binary file not shown.
Binary file added
BIN
+12.7 KB
...alReact/ClassicalComponent.esbuild-puppeteer.test.ts/3/beforeEachScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.7 KB
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/3/screencap.mp4
Binary file not shown.
Binary file added
BIN
+12.7 KB
...alReact/ClassicalComponent.esbuild-puppeteer.test.ts/4/beforeEachScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.1 KB
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/4/screencap.mp4
Binary file not shown.
43 changes: 43 additions & 0 deletions
43
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/log.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
testArtiFactory =>,./before.txt | ||
|
||
Suite:,a classical react component, bundled with esbuild and tested with puppeteer,[object Object] | ||
|
||
Given: AnEmptyState | ||
testArtiFactory =>,./screencap.mp4 | ||
testArtiFactory =>,./beforeEachScreenshot.png | ||
Then:,ThePropsIs: [object Object] | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
testArtiFactory =>,./screencap.mp4 | ||
testArtiFactory =>,./beforeEachScreenshot.png | ||
When:,IClickTheButton: undefined | ||
Then:,ThePropsIs: [object Object] | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
testArtiFactory =>,./screencap.mp4 | ||
testArtiFactory =>,./beforeEachScreenshot.png | ||
When:,IClickTheButton: undefined | ||
Then:,ThePropsIs: [object Object] | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
testArtiFactory =>,./screencap.mp4 | ||
testArtiFactory =>,./beforeEachScreenshot.png | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
testArtiFactory =>,./screencap.mp4 | ||
testArtiFactory =>,./beforeEachScreenshot.png | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
Then:,TheStatusIs: [object Object] | ||
Then:,IAmAGenius: undefined |
11 changes: 11 additions & 0 deletions
11
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/-1/before.txt | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/0/screencap.mp4 | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/0/beforeEachScreenshot.png | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/1/screencap.mp4 | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/1/beforeEachScreenshot.png | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/2/screencap.mp4 | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/2/beforeEachScreenshot.png | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/3/screencap.mp4 | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/3/beforeEachScreenshot.png | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/4/screencap.mp4 | ||
/js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/4/beforeEachScreenshot.png |
109 changes: 109 additions & 0 deletions
109
js-bazel/myTests/ClassicalReact/ClassicalComponent.esbuild-puppeteer.test.ts/results.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"name": "a classical react component, bundled with esbuild and tested with puppeteer", | ||
"givens": [ | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [], | ||
"thens": [ | ||
{ | ||
"name": "ThePropsIs: [object Object]" | ||
}, | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
} | ||
], | ||
"features": [] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "ThePropsIs: [object Object]" | ||
}, | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
} | ||
], | ||
"features": [] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "ThePropsIs: [object Object]" | ||
}, | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
} | ||
], | ||
"features": [] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
} | ||
], | ||
"features": [ | ||
"hello" | ||
] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
}, | ||
{ | ||
"name": "IAmAGenius: undefined" | ||
} | ||
], | ||
"features": [ | ||
"hello" | ||
] | ||
} | ||
], | ||
"fails": [] | ||
} |
21 changes: 21 additions & 0 deletions
21
js-bazel/myTests/ClassicalReact/ClassicalComponent.react-test-renderer.test.tsx/log.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
Suite:,foo,[object Object] | ||
|
||
Given: AnEmptyState | ||
When:,IClickTheButton: undefined | ||
Then:,ThePropsIs: [object Object] | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
Then:,TheStatusIs: [object Object] | ||
|
||
Given: AnEmptyState | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
When:,IClickTheButton: undefined | ||
Then:,TheStatusIs: [object Object] | ||
111 changes: 111 additions & 0 deletions
111
js-bazel/myTests/ClassicalReact/ClassicalComponent.react-test-renderer.test.tsx/results.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"name": "foo", | ||
"givens": [ | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "ThePropsIs: [object Object]" | ||
}, | ||
{ | ||
"name": "TheStatusIs: [object Object]" | ||
} | ||
], | ||
"features": [] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "TheStatusIs: [object Object]", | ||
"error": true | ||
} | ||
], | ||
"errors": { | ||
"generatedMessage": true, | ||
"code": "ERR_ASSERTION", | ||
"actual": { | ||
"type": "pre", | ||
"props": { | ||
"id": "theState" | ||
}, | ||
"children": [ | ||
"{\"count\":3}" | ||
] | ||
}, | ||
"expected": { | ||
"type": "pre", | ||
"props": { | ||
"id": "theState" | ||
}, | ||
"children": [ | ||
"{\"count\":33}" | ||
] | ||
}, | ||
"operator": "deepEqual" | ||
}, | ||
"features": [] | ||
}, | ||
{ | ||
"name": "AnEmptyState", | ||
"whens": [ | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
}, | ||
{ | ||
"name": "IClickTheButton: undefined" | ||
} | ||
], | ||
"thens": [ | ||
{ | ||
"name": "TheStatusIs: [object Object]", | ||
"error": true | ||
} | ||
], | ||
"errors": { | ||
"generatedMessage": true, | ||
"code": "ERR_ASSERTION", | ||
"actual": { | ||
"type": "pre", | ||
"props": { | ||
"id": "theState" | ||
}, | ||
"children": [ | ||
"{\"count\":3}" | ||
] | ||
}, | ||
"expected": { | ||
"type": "pre", | ||
"props": { | ||
"id": "theState" | ||
}, | ||
"children": [ | ||
"{\"count\":333}" | ||
] | ||
}, | ||
"operator": "deepEqual" | ||
}, | ||
"features": [] | ||
} | ||
], | ||
"fails": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
Suite:,Testing the Rectangle class,[object Object] | ||
|
||
Given: Default | ||
When:,setWidth: 4 | ||
When:,setHeight: 9 | ||
Then:,getWidth: 4 | ||
Then:,getHeight: 9 | ||
|
||
Given: WidthOfOneAndHeightOfOne | ||
When:,setWidth: 4 | ||
When:,setHeight: 5 | ||
Then:,getWidth: 4 | ||
Then:,getHeight: 5 | ||
Then:,area: 20 | ||
Then:,AreaPlusCircumference: 38 | ||
|
||
Given: WidthOfOneAndHeightOfOne | ||
When:,setHeight: 4 | ||
When:,setWidth: 3 | ||
Then:,area: 12 | ||
|
||
Given: WidthOfOneAndHeightOfOne | ||
When:,setHeight: 3 | ||
When:,setWidth: 4 | ||
When:,setHeight: 5 | ||
When:,setWidth: 6 | ||
Then:,area: 30 | ||
Then:,circumference: 22 | ||
|
||
Given: WidthOfOneAndHeightOfOne | ||
When:,setHeight: 3 | ||
When:,setWidth: 4 | ||
Then:,getHeight: 3 | ||
Then:,getWidth: 4 | ||
Then:,area: 12 | ||
Then:,circumference: 14 | ||
|
||
Given: WidthOfOneAndHeightOfOne | ||
When:,setHeight: 33 | ||
When:,setWidth: 34 | ||
Then:,getHeight: 33 |
Oops, something went wrong.