entest's People
Forkers
rimantaszentest's Issues
tests without dependent tests are not shown in mermaid graph
can be reproduced by running graph generator only for test this file:
./entest/cli.py tests/graph_mock_tests/dependent_tests_A.py --graph
test case mock_test_a1
is run, but not included in the graph, as mock_test_c1 is determined as a parent formock_test_a2.
the output has 5 tests executed, but only 4 are present in mermaid graph output:
Collecting tests
Collected 15 tests
Removing implicit edges
Resolving dependencies
Will run 5 tests
[โ Not run | mock_test_c1, โ Not run | mock_test_a1]
flowchart TD
subgraph tests
mock_test_c1 --> mock_test_a2
mock_test_a2 --> mock_test_a3
mock_test_a2 --> mock_test_b2
end
Adding mermaid graph to md file
flowchart TD
subgraph tests
create_user --> create_spam
create_user --> deposit_money_in_bank
create_spam --> offer_spam
offer_spam --> order_spam
offer_spam --> order_spam_insufficient_funds
mock_test_c1 --> mock_test_a2
deposit_money_in_bank -.- order_spam_insufficient_funds
deposit_money_in_bank --> order_spam
mock_test_a2 --> mock_test_a3
mock_test_a2 --> mock_test_b2
end
subgraph teardown
create_user --> delete_user
create_spam --> eat_spam
end
deposit_money_in_bank["deposit_money_in_bank
-------
deposit_money_in_bank docstring
"]
order_spam["order_spam
-------
order spam docstring
"]
mock_test_a1["mock_test_a1
------- None"]
create_user["create_user
-------
Create user docstring
"]
mock_test_a2["mock_test_a2
------- None"]
create_spam["create_spam
-------
Create spam docstring
"]
offer_spam["offer_spam
-------
Offer spam docstring
"]
empty_setup["empty_setup
------- None"]
mock_test_c1["mock_test_c1
------- None"]
close_threads_automatically["close_threads_automatically
------- None"]
mock_test_a3["mock_test_a3
------- None"]
mock_test_b2["mock_test_b2
------- None"]
eat_spam["eat_spam
-------
eat spam docstring
"]
order_spam_insufficient_funds["order_spam_insufficient_funds
-------
order_spam_insufficient_funds docstring
"]
delete_user["delete_user
-------
delete_user docstring
"]
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.