Comments (8)
починим
from allure-pytest.
В первом приближении нам нужно в степах в name
писать константу а в title
-- то, что сейчас пишем в name
. Тогда поправится эффект от allure-framework/allure1#198
from allure-pytest.
А еще -- мы же можем в name
просто писать ничего не значащую константу?
from allure-pytest.
@pupssman можно, но нужно ли? Например, в отчете отображатеся имя суита с возможностью скопировать его в буфер обмена. Нужно это чтобы быстрее мапить результат теста с кодом теста.
Плюс, выставляя имя, вы получите дефолтную генерацию тайтла (например, у простых тестов чтобы не писать самому human-readable имя)
from allure-pytest.
@baev если ты правильно помнишь, все перепетии начались с того, что дефолтная генерация тайтлов нас очень уж не устроила -- особенно в степах или сложных именах с параметрами.
from allure-pytest.
Ребята, это для нас очень критично. Отчеты теряют существенную часть информации которую они должны нести. Кто-то возьмется?
from allure-pytest.
По итогам дискуссии с @baev выяснилось, что нам нужно заполять не name
, а title
в генерируемых отчетах. При этом, в name
тоже должно что-то быть. Простой вариант -- класть и в name
и в title
одно и то же -- тогда при построении отчета все будет выглядеть ожидаемо.
Чтобы это поправить: нужно, например, в https://github.com/allure-framework/allure-python/blob/master/allure/common.py#L108 в объекте TestStep
заполять поле title
, как описано выше.
from allure-pytest.
Эта ишью пофикшена с коммитом 5aa8478.
from allure-pytest.
Related Issues (20)
- Allure doesn't make a screenshot on a mobile device during the autotests with pyTest uiAutomator on Android HOT 8
- How to make allure plugin dependent on another plugin? HOT 2
- Can I see log trace of a passed test case, currently the debug trace is only for failed test cases HOT 2
- @Attachment for video having .webm is not attaching to the allure report in Ubuntu HOT 3
- seeing some os.error too many files.. any known issue here ? HOT 1
- Plugin already registered HOT 5
- I am looking to add a attachment in one of the tabs , not to a test case HOT 3
- Got ImportError: cannot import name 'unicodify' error after updating to version allure-pytest 2.0.0b2 HOT 31
- Unable to execute test cases specifying --allure_features or --allure stories attribute HOT 5
- Support tags: HOST, FEATURE and etc via LabelType class HOT 1
- Teardown function's logs not captured in allure report HOT 3
- Providing a responsive UI HOT 1
- Incompatible with pytest 3.2.0 HOT 1
- getting ValueError: option names set(['--alluredir']) already added" while trying to build a job on jenkins with allure-pytest plugin HOT 1
- Cyrillic symbols display like unicode in test's title HOT 1
- Multiple flow test xml-report counldn't be generated if one or more tests failed HOT 2
- Is it possible to rename test suits and test cases names? HOT 8
- why?How to solve this error? HOT 1
- Warnings during generating of allure report - RemovedInPytest4Warning HOT 3
- good!
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 allure-pytest.