Comments (6)
Testing is still work in progress. I do development in the feature branch testing of my fork.
from calliopeo_astropi.
I just did a single test file with the following cases in one file:
- Run Script without Calliope => Error no Calliope found
- Run Script without Zip Files => Error no Zip files found
- Run with only corrupted Zip file (and so no Hex file at all) => renamed to *.failed & Error no files found
- Run with the following files
- Corrupted Zip File => will be renamed to *.failed (and overwrite the existing one)
- Zip file with .garbage File inside => The last flashed script persists on the mini and will be logged again / if 'no-start.hex" was the last one it will behave like that.
- Zip file with invalid .hex File => the last flashed script persists on the mini and will be logged again / if 'no-start.hex" was the last one it will behave like that
- Hex file which runs 10s and then stops => regular execution
- Hex file which runs 900s and then stops => result in a timeout in this test
- Hex file which logs a lot of data => run into the filesize limit in this test
- Hex file which send serial Data, but does not send a start or end tag. => This file will be reflashed 5 times and then skipped
I made the tests at first for checking the testcases and improve the manual tests on the astropi, so unlike in your tests in your fork there is no automated proof and it is all in a single test file.
from calliopeo_astropi.
I just had one issue with the testing.sh: It doesnt read the testing.conf
and also in line 24 for testcase in ${tc_folder%/}/*.*; do
, it fails to read this as phat and results in /*.*
instead of ./testcases/*.*
. So hard coding it to for testcase in ./testcases/*.*; do
worked.
from calliopeo_astropi.
Mmh, strange ...
This only happens on my system, if executing testing.sh
from outside the directory testing.sh
is in. Is this the case for you? I made a change to ensure the script is executed from the right directory, see #26.
from calliopeo_astropi.
https://github.com/rzbrk/CalliopEO_AstroPi/blob/testing/testcases/testcases.md
from calliopeo_astropi.
Is now working in my test on the astro pi.
from calliopeo_astropi.
Related Issues (20)
- Extend testcase 1: Collect information on configuration of serial port and getty
- blkinfo 0.1.2 outdated HOT 2
- Assess impacts from AstroPi Anomaly Reports
- Link A2 and A3 in ProgramDescription (Appendices) broken
- Errors using os with gui HOT 4
- update 30sec-iss-sensors HOT 2
- Readme: note that zip has to be unziped on pi and not before uploading
- SCD30 calibration HOT 2
- setup.sh: Set permissions of /home/calliope to 700 HOT 4
- setup.sh: Check that serial port is not enabled for console login HOT 9
- setup.sh: argparse wheel necessary? HOT 2
- setup.sh: Avoid installation for user pi HOT 2
- README/ProgramDescription: Adapt completely to AstroPi OS HOT 1
- ProgramDescription: Adapt the description to log-in via SSH HOT 1
- setup.sh: Check for necessary programs like pip, ... HOT 2
- Add to testcase 01: Check if necessary programs exist HOT 1
- Provide HEX file(s) for initial scientific measurements HOT 3
- README: Correct syntax, remove python3
- Release version 1.2.0 HOT 1
- Setup: check requirements before installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calliopeo_astropi.