Wymagania biznesowe

W tej lekcji znajdziesz wymagania biznesowe dla naszej testowej aplikacji GAD. Z tych wymagań korzystamy w Programie Testy Automatyczne z Playwright.

Wymagania GAD-R08 @X_S01

# GAD-R08 @X_S01 API is ready to be integrated with external system

- GAD-R08-01: [Architecture] Articles can be returned by API for non logged users.
- GAD-R08-02: [Architecture] Comments can be returned by API for non logged users.

Wymagania GAD-R09 @X_S02

# GAD-R09 @X_S02 API is ready to be integrated with external system

- GAD-R09-01: [Architecture] Articles can be created by API for logged users.
- GAD-R09-02: [Architecture] Comments can be created by API for logged users.
- GAD-R09-03: [Architecture] Articles can be deleted by API by logged users.
- GAD-R09-04: [Architecture] Comments can be deleted by API by logged users.
TIP:
Zarówno dla artykułów i komentarzy działania modyfikacji są możliwe tylko dla zasobów stworzonych przez zalogowanego użytkownika.

Nieprecyzyjne wymagania powinny być doprecyzowane z osobami odpowiedzialnymi za produkt.

Dzięki temu można uniknąć nieporozumień co do prawidłowego działania danych funkcji aplikacji.

Wymagania GAD-R10 @X_S04

# GAD-R10 @X_S03 API is handle modification of content

GAD-R10-01: [Architecture] Articles can be modified by complete content replacement via the API for logged-in users.
GAD-R10-02: [Architecture] Comments can be modified by complete content replacement via the API for logged-in users.
GAD-R10-03: [Architecture] Articles can be partially modified via the API by logged-in users.
GAD-R10-04: [Architecture] Comments can be partially modified via the API by logged-in users.

Archives:
– GAD-R08-07: [Architecture] Articles can be modified by API by logged users
– GAD-R08-08: [Architecture] Comments can be modified by API by logged users
– GAD-R07-01: [Architecture] Application should handle empty article title returned by API
– GAD-R07-02: [Architecture] Application should handle empty comments body returned by API