Skip to content

Commit c3def3b

Browse files
committed
enhanced site
1 parent fb02628 commit c3def3b

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Architecture
1+
# Architecture
22

33
> Support for additional technologies, e.g. RabbitMQ, can be added by sub-classing these classes and adding specific steps, setup/teardown, and configuration. This allows reusing the basic configuration, reporting, logging, and retrying mechanisms. Further, application tests, steps, and configurations reuse by subclassing from technologies.
44

docs/example-tests.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
1-
## Example Tests
1+
# Example Tests
22

33
Below are example test cases demonstrating BDD-style usage with this framework:
44

5+
## UI search test
6+
57
```python
6-
# Example: UI search test
7-
# (Assumes self.login_section and self._configuration.users are defined)
88
def should_find(self):
9-
self.login_section(random.choice(self._configuration.users))
9+
(self.login_section(self.configuration.random_user)
10+
.when.clicking_search())
11+
1012
for word in ["hello", "kitty"]:
1113
(self.steps
1214
.when.searching_for(word)
13-
.then.the_search_hints(
14-
yields_item(contains_string_ignoring_case(word))))
15+
.then.the_search_hints(yields_item(traced(
16+
contains_string_ignoring_case(word)))))
1517
```
1618

19+
## API add test
20+
1721
```python
18-
# Example: API add test
1922
def should_add(self):
2023
random_pet = SwaggerPetstorePet.random()
2124
(self.steps
25+
.given.swagger_petstore(self.rest_session)
2226
.when.adding(random_pet)
23-
.then.the_available_pets(yields_item(is_(random_pet))))
27+
.then.the_available_pets(yields_item(traced(is_(random_pet)))))
2428
```
2529

2630
---

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 🚀 Quick Start (Locally with [PDM](https://pdm-project.org))
1+
# Getting Started
22

33
Open in Codespace or Dev Container and everything will get installed and configured, otherwise:
44

docs/project-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 📦 Project Structure
1+
# Project Structure
22

33
```
44
qa-automation-python/

0 commit comments

Comments
 (0)