Comments (4)
Will authoring tests in Excel be the long term solution? If not, it may be prudent to start work on an alternative sooner rather than later.
from aria-at.
@mfairchild365 commented:
Will authoring tests in Excel be the long term solution? If not, it may be prudent to start work on an alternative sooner rather than later.
I've been giving this some thought. At first, I thought Excel might be a good solution for at least the medium term, but after having gone through the process of reviewing test plans, I really think not.
Writing test plans is hard, even harder to get right than I anticipated. There is going to be lots and lots and lots of revising, even after we have significant experience writing them. I am anticipating that we will get quite a bit of feedback on the plans. So, if we had to rely on Excel imports to do all that work, it would get very time consuming.
The number of times I wished to myself, "Dang, where is the edit button for this test" is already pretty significant.
Our current test plan review pages are pretty nice. I can easily imagine an "Add Test" button next to the H1 at the top, and an "Edit test" button next to each H2. In short, I think we need to invest in a test composer/editor.
In the meantime, @spectranaut, can you give @jongund some requirements for modifying his script so that we can at least make importing reasonably efficient in the near term? That would enable us to keep moving forward with test writing until we have the infrastructure in place to build a test composer and keep you focused on building that infra.
from aria-at.
Ok, advice for @jongund about the script:
-
The scripts Jon wrote should be moved to
scripts/
directory so they can be used for generating more tests.a. This will involved updating the scripts relative paths, specifically, where the test files and commands.json files are written to. Probably this should be a command line variable that tells you the directory name for the design pattern (like "checkbox" or "menubar-editor"). Then, if the exported CSV files are always named the same thing and kept in the
data/
directory you won't have to provide them as a command line variable (because you can just look for a file of that name).b. You could just have one script, pass it the directory for the example, and it could look for all the appropriate files and create all the appropriate files. It would remove one step of work!
-
The following data validation should be done for the tests:
a. The commands.json file should be loaded by the script that produces test files, and it should make sure that every "task" has a corresponding entry in commands.json (also cross referencing the "applies to" field).
b. There should be data validation on the string values provided for "applies to" field.
c. There should be data validation on the string value for "mode"
d. There should be data validation on the key strings -- the ones that correspond to key or key combinations in
tests/resources/keys.mjs
. This file could probably be consumed and read by the python script for this data validation. -
All tests should be delete by the script before they are re-written. This is necessary because if a file is deleted from the excel/CSV file, it needs to be deleted from the directory.
from aria-at.
Thank you for the feedback.
Valarie I will work on theses changes.
from aria-at.
Related Issues (20)
- PR #997: V2 Test format build, *-commands.csv with "delete" key incorrectly reported as "not found" HOT 2
- Presentation Numbers in the V2 Test Format HOT 1
- v2 Test Format: Space-separated settings in AT_KEY-commands.csv HOT 1
- Do not show 0-priority assertions in the results collection form HOT 1
- Remove "Success Criteria" section from preview of the test collection form
- Preview of results collection form has title and instructions that are inconsistent with preview of test plan HOT 2
- Feedback: "Navigate backwards to a not pressed toggle button" (Toggle Button, Test 6, V23.12.06)
- Possibly all tests - Open test page button disabled if user navigates to another webpage in test page new window
- Feedback: "Navigate backwards to a pressed toggle button" (Toggle Button, Test 12, V23.12.14) HOT 2
- Feedback: "Navigate backwards to a pressed toggle button" (Toggle Button, Test 12, V23.12.14) HOT 4
- Feedback: Toggle Button Test plan, V23.12.14: Shouldn't role be 'Toggle Button' instead of 'button' HOT 2
- JAWS Changes Requested: "Trigger an alert" (Alert Example, Test 3, V23.12.06) HOT 3
- Define meaning of assertion priorities: "MUST", "SHOULD", and "MAY" HOT 5
- Tests are not correctly sequenced in preview
- Assertion tokens are causing test plan build to fail HOT 2
- Enhance V2 test format to allow 0 priority assertions in tests.csv HOT 5
- Proposal for new terminology for the phenomena we currently call "undesirable behaviors" or "Other behaviors with negative impact" HOT 2
- Support test plans that specify a command assertion exception for an assertion that is not listed in tests.csv
- Support test plans that specify a command assertion exception that does not include an assertion priority prefix HOT 1
- Support specifying a minimum required AT version in the name of a commands.csv file
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 aria-at.