-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added fake code coverage - added example custom metrics - added fake specs
- Loading branch information
1 parent
1e9e45b
commit 39ee9fe
Showing
16 changed files
with
220 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Automate | ||
on: | ||
repository_dispatch: | ||
types: [auto] | ||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Automation here | ||
run: | | ||
echo "Call a script to do something .." | ||
echo "Name = " ${{ toJson(github.event.client_payload.name) }} | ||
echo "Password = " ${{ toJson(github.event.client_payload.password) }} |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
.SAVE | ||
_SAVE |
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
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,98 @@ | ||
<?xml version="1.0" ?> | ||
<!DOCTYPE coverage | ||
SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'> | ||
<coverage line-rate="0.733"> | ||
<packages> | ||
<package name="Controller"> | ||
<classes> | ||
<class filename="controlStart.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="1" number="2"/> | ||
<line branch="false" hits="1" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
</lines> | ||
</class> | ||
<class filename="controllerExec.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="1" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
</lines> | ||
</class> | ||
<class filename="controllerShutdown.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="1" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
<line branch="false" hits="1" number="5"/> | ||
<line branch="false" hits="1" number="6"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
<package name="Model"> | ||
<classes> | ||
<class filename="modelInit.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="1" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
</lines> | ||
</class> | ||
<class filename="modelStart.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="0" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
<package name="Lib"> | ||
<classes> | ||
<class filename="LibInit.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="1" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
<line branch="false" hits="0" number="5"/> | ||
<line branch="false" hits="0" number="6"/> | ||
</lines> | ||
</class> | ||
<class filename="LibSweep.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="0" number="2"/> | ||
<line branch="false" hits="1" number="3"/> | ||
<line branch="false" hits="1" number="4"/> | ||
</lines> | ||
</class> | ||
<class filename="LibCache.cpp"> | ||
<methods/> | ||
<lines> | ||
<line branch="false" hits="1" number="1"/> | ||
<line branch="false" hits="0" number="2"/> | ||
<line branch="false" hits="0" number="3"/> | ||
<line branch="false" hits="0" number="4"/> | ||
<line branch="false" hits="1" number="5"/> | ||
<line branch="false" hits="1" number="6"/> | ||
<line branch="false" hits="0" number="7"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
</packages> | ||
</coverage> |
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 @@ | ||
Timing Metrics, 134, 65, 165 |
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,5 @@ | ||
File Timing.log: contains some simple timing metrics. | ||
|
||
The delay before start was 134 ms | ||
The latency from start to actual start was 65 ms | ||
The duration from actual start to stop was 165 ms |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"[API Tests]$RESULTS_PATH/API*.pass.xml" | ||
"[E2E Tests]$RESULTS_PATH/E2E*.pass.xml" | ||
"[UI Tests]$RESULTS_PATH/UI*.pass.xml" | ||
"$RESULTS_PATH/CodeCoverage.xml" | ||
"$RESULTS_PATH/Timing.log{$RESULTS_PATH/Timing.csv: Timing throughput}" |
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
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
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
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
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
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
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,50 @@ | ||
--- | ||
testspace: | ||
title: Turn on power | ||
--- | ||
|
||
{% if page %} {% assign spec = page %} {% endif %} | ||
|
||
# {{ spec.title }} | ||
This tests different startup stages of the application when turning on the power. It will eventually be transitioning to an `idle` state. | ||
|
||
## Check Transitions | ||
The display will be changed based on the following configurations: | ||
|
||
Mode 1.a | Mode 2.c | ||
-------- | -------- | ||
State 1 | State n | ||
|
||
- Check for the first transition after power-up | ||
- Check next step for **id=17.xx**. Should display the local URL. | ||
|
||
Now review the states based on following diagram: | ||
|
||
 | ||
|
||
## Power Scenario | ||
The power scenario requires quick cycling, going over each scene in less than `10` seconds. | ||
|
||
- Going online **without** system configuration set to `ABC` | ||
- Verify system turns on and display *blinking every 3 seconds* | ||
|
||
## Switch On | ||
The switch-on will be very rapid based on the `Mode 2.c`. | ||
|
||
- Go back on line to check for turn-off switch | ||
- Check UI mode display | ||
|
||
|
||
## Turn off delay | ||
The turn off delay verification is used for input configuration. | ||
|
||
- Go back on line to check for switch-on | ||
- Check UI mode display | ||
|
||
## Full Idle Mode | ||
The idle can switch automatically based on previous configuration. | ||
|
||
|
||
- Go back on line to check for switch-off | ||
- Check UI mode display | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#5 done