sfuphantom / testing Goto Github PK
View Code? Open in Web Editor NEWRepository to hold testing code for the embedded systems
Repository to hold testing code for the embedded systems
Implement UART send and receive. See documentation on UART basics and pyserial library.
Baud rate will be decided in collaboration with firmware team.
Purchase of USB -> UART dongle might be necessary eventually
add fields in test cases.json to accomplish the following:
Connect the test name to the enum that will be sent to the test board by adding an enum field (the values of the JSON seen here: https://docs.google.com/document/d/1hK-Vt4vyb1n-gqqa51p9JY0zEsiafHl9gfs9x0N0zHU/edit)
Also needs the key, exactly as seen in this file.
Then, the function to update the string of selected tests needs to be updated to include these in the string
Currently, the GUI shows selected test cases when user clicks on a test case but it hasn't been handled in python yet so selecting the test cases doesn't do anything. The program should identify the selected test cases and the category that they belong in. This is what the _get_selected_tests() function is trying to achieve. Additionally, it would be nice if all the test cases in a category is selected when user clicks on the title of the test category.
Add call to main_pytest() on run tests button to launch tests
In a new file, create a class to write and format a test summary in an excel sheet. Test summary includes information about the test such as test number, device information, the selected tests and their results, etc.
Inputs:
mainwindow.dirName
# Example
'C:/team phantom'
mainwindow.checkin_info
[{'Test Name': 'LV Power Sensor', 'Test Case': 'Test 2: Power Rail Undervoltage', 'Status': 'Pass', ‘Message’: ‘N/A’}, {'Test Name': 'LV Power Sensor', 'Test Case': 'Test 2: Power Rail Undervoltage', 'Status': 'Pass', ‘Message’: ‘N/A’}]
Add logic for frontend to send normal_vcu JSON in test files when user selects calibration test button
A test case may need to be selected more than once. The repeat column in test selection is supposed to allow user to input how many times they'd like to repeat the selected test case. It is currently not editable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.