mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add acceptance tests
Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de>
This commit is contained in:
parent
66ef4839e4
commit
b73327ea6c
|
@ -887,8 +887,236 @@ Dieser Abschnitt stellt eine Vereinigung von Glossar und der Beschreibung von Kl
|
||||||
|===
|
|===
|
||||||
|
|
||||||
== Akzeptanztestfälle
|
== Akzeptanztestfälle
|
||||||
Mithilfe von Akzeptanztests wird geprüft, ob die Software die funktionalen Erwartungen und Anforderungen im Gebrauch erfüllt. Diese sollen und können aus den Anwendungsfallbeschreibungen und den UML-Sequenzdiagrammen abgeleitet werden. D.h., pro (komplexen) Anwendungsfall gibt es typischerweise mindestens ein Sequenzdiagramm (welches ein Szenarium beschreibt). Für jedes Szenarium sollte es einen Akzeptanztestfall geben. Listen Sie alle Akzeptanztestfälle in tabellarischer Form auf.
|
|
||||||
Jeder Testfall soll mit einer ID versehen werde, um später zwischen den Dokumenten (z.B. im Test-Plan) referenzieren zu können.
|
[cols="1h, 4"]
|
||||||
|
[[AT0101]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0101>>
|
||||||
|
|Use Case |<<UC0101>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing customer data.
|
||||||
|
|{Event} a|The user selects a customer and updates the billing address.
|
||||||
|
|{Result} a|The customer data is updated successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0102]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0102>>
|
||||||
|
|Use Case |<<UC0102>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user navigates to view customer data.
|
||||||
|
|{Result} a|The customer data is displayed to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0103]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0103>>
|
||||||
|
|Use Case |<<UC0103>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing customer data.
|
||||||
|
|{Event} a|The user selects a customer and chooses the option to remove the customer.
|
||||||
|
|{Result} a|The customer is removed from the system and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0104]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0104>>
|
||||||
|
|Use Case |<<UC0104>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user chooses to add a new customer and provides the required customer details.
|
||||||
|
|{Result} a|The new customer is added successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0201]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0201>>
|
||||||
|
|Use Case |<<UC0201>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user chooses to add a new employee and provides the required personal details.
|
||||||
|
|{Result} a|The new employee is added successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0202]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0202>>
|
||||||
|
|Use Case |<<UC0202>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing employee data.
|
||||||
|
|{Event} a|The user selects an employee and updates their address.
|
||||||
|
|{Result} a|The employee data is updated successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0203]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0203>>
|
||||||
|
|Use Case |<<UC0203>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user navigates to view employee data.
|
||||||
|
|{Result} a|The employee data is displayed to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0204]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0204>>
|
||||||
|
|Use Case |<<UC0204>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing employee data.
|
||||||
|
|{Event} a|The user selects an employee and chooses the option to remove the employee.
|
||||||
|
|{Result} a|The employee is removed from the system and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0205]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0205>>
|
||||||
|
|Use Case |<<UC0205>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing assignment options.
|
||||||
|
|{Event} a|The user selects an employee and assigns them to a specific task.
|
||||||
|
|{Result} a|The employee is successfully assigned to the task, and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0301]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0301>>
|
||||||
|
|Use Case |<<UC0301>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user chooses to add a new invoice and provides the required details.
|
||||||
|
|{Result} a|The new invoice is added successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0302]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0302>>
|
||||||
|
|Use Case |<<UC0302>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing invoice data.
|
||||||
|
|{Event} a|The user selects an invoice and updates its details.
|
||||||
|
|{Result} a|The invoice data is updated successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0303]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0303>>
|
||||||
|
|Use Case |<<UC0303>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and views unpaid invoices.
|
||||||
|
|{Event} a|The user selects an invoice and marks it as paid.
|
||||||
|
|{Result} a|The invoice status changes to 'Paid', and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0304]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0304>>
|
||||||
|
|Use Case |<<UC0304>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user navigates to view the contents of an invoice.
|
||||||
|
|{Result} a|The contents of the invoice are displayed to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0401]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0401>>
|
||||||
|
|Use Case |<<U0401>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing order data.
|
||||||
|
|{Event} a|The user selects an order and updates its details.
|
||||||
|
|{Result} a|The order data is updated successfully and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0402]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0402>>
|
||||||
|
|Use Case |<<UC0402>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user navigates to view order data.
|
||||||
|
|{Result} a|The order data is displayed to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0403]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0403>>
|
||||||
|
|Use Case |<<UC0403>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing order data.
|
||||||
|
|{Event} a|The user selects an order and chooses the option to remove it.
|
||||||
|
|{Result} a|The order is removed from the system and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0404]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0404>>
|
||||||
|
|Use Case |<<UC0404>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user chooses to add a new order and provides the necessary details.
|
||||||
|
|{Result} a|The new order is added successfully, and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0501]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0501>>
|
||||||
|
|Use Case |<<UC0501>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user navigates to the inventory section to view items.
|
||||||
|
|{Result} a|The contents of the inventory are displayed to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0502]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0502>>
|
||||||
|
|Use Case |<<UC0502>>
|
||||||
|
|{Pre} a|A registered user is logged into the system and is viewing inventory items.
|
||||||
|
|{Event} a|The user selects an item and updates its details.
|
||||||
|
|{Result} a|The inventory item data is updated successfully, and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0601]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0601>>
|
||||||
|
|Use Case |<<UC0601>>
|
||||||
|
|{Pre} a|An admin user is logged into the system.
|
||||||
|
|{Event} a|The admin chooses to add a new registered user and provides the necessary credentials.
|
||||||
|
|{Result} a|The new registered user is added successfully, and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0602]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0602>>
|
||||||
|
|Use Case |<<UC0602>>
|
||||||
|
|{Pre} a|An admin user is logged into the system and is viewing a list of registered users.
|
||||||
|
|{Event} a|The admin selects a user and chooses to remove them from the system.
|
||||||
|
|{Result} a|The selected registered user is removed, and a confirmation message is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0701]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0701>>
|
||||||
|
|Use Case |<<UC0701>>
|
||||||
|
|{Pre} a|A user is accessing the system's website.
|
||||||
|
|{Event} a|The user chooses to access the Login-Page.
|
||||||
|
|{Result} a|The login page is presented to the user.
|
||||||
|
|===
|
||||||
|
|
||||||
|
[cols="1h, 4"]
|
||||||
|
[[AT0702]]
|
||||||
|
|===
|
||||||
|
|ID |<<AT0702>>
|
||||||
|
|Use Case |<<UC0702>>
|
||||||
|
|{Pre} a|A registered user is logged into the system.
|
||||||
|
|{Event} a|The user selects the "Logout" option.
|
||||||
|
|{Result} a|The user is successfully logged out, and a confirmation message or the login page is displayed.
|
||||||
|
|===
|
||||||
|
|
||||||
== Glossar
|
== Glossar
|
||||||
Sämtliche Begriffe, die innerhalb des Projektes verwendet werden und deren gemeinsames Verständnis aller beteiligten Stakeholder essentiell ist, sollten hier aufgeführt werden.
|
Sämtliche Begriffe, die innerhalb des Projektes verwendet werden und deren gemeinsames Verständnis aller beteiligten Stakeholder essentiell ist, sollten hier aufgeführt werden.
|
||||||
|
|
Loading…
Reference in a new issue