Comments (4)
+1
from betelgeuse.
This will require some design decision because each test step have an expected result in Polarion.
My idea on solving this is:
Expect a list for steps and a list for assert. Then each element of one list will mapped to the same index of the other list (example 1). If it is a single item, then there is no need to use the list syntax (example 2). If neither of the mentioned is found then step's content will go to the first step, and the content of assert will go to the first step expected condition, for example, if number of items on both lists don't match or if parsing the tokens' content fail.
Example 1:
"""My test
@steps:
1. First step
2. Second step
3. Third step
@assert:
1. First step expected condition.
2. Second step expected condition.
3. Third step expected condition.
"""
Example 2:
"""My test case
@steps:
Single step
@assert:
Single step expected condition.
""""
We should probably rename assert
to expectedresults
to have a better meaning.
from betelgeuse.
@elyezer What if we have example something like this,
"""
My test case
@steps:
1. First Step
2. Second Step
3. Third Step
@assert:
1. Final result
"""
+1 for renaming expectedresults
from betelgeuse.
@Akasurde that will generate one step with the content of:
1. First Step
2. Second Step
3. Third Step
And the expected result of:
1. Final result
The render on Polarion will be something like
Step 1 |
|
|
from betelgeuse.
Related Issues (20)
- upstream token is not valid across different project, make it editable only when present HOT 1
- Provide RST parsing errors and warnings
- We should be able to pass some tokens (Requirement,CaseLevel, CaseImportance, TestType, etc.) through command line HOT 2
- Please add Requirement and Automation Script fields to be used by Betelgeuse Configuration Module HOT 1
- Make use of <testcase status-id="approved"> to update Test Case status HOT 1
- Provide help message for the --config-module option
- Document a list of custom fields and its values - IDs in Polarion HOT 2
- allow '.' as test path
- Allow sending files to Polarion HOT 4
- Request to parse multiple lines for fields like "title" in docstrings HOT 2
- Make Betelgeuse Python 3.6+ only HOT 7
- Update the betelgeuse requirement command to generate the XML for the Requirement Importer
- Pytest style parametrization HOT 6
- test case id not derived by test-run
- [test-case] Higher-level metadata might be used when keys use inconsistent casing
- pylarion now supporting python 3 HOT 2
- Traceback when running betelgeuse for insights tests HOT 2
- "betelgeuse test-run --status inprogress" isnt updating the test-run correctly HOT 3
- AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' with Python 3.9 HOT 2
- Move to Github Actions
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 betelgeuse.