Отдельные документы о тестировании
This commit is contained in:
4391
Report/testing-export/01_plan_testing.pdf
Normal file
4391
Report/testing-export/01_plan_testing.pdf
Normal file
File diff suppressed because it is too large
Load Diff
12
Report/testing-export/01_plan_testing.typ
Normal file
12
Report/testing-export/01_plan_testing.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
#import "_document.typ": testing-export-doc
|
||||
#show: doc => testing-export-doc(
|
||||
title: [План тестирования],
|
||||
criterion: [Критерий 1.1 — наличие плана тестирования],
|
||||
doc,
|
||||
)
|
||||
|
||||
= Тестирование программного обеспечения
|
||||
|
||||
#include "../includes/testing/_intro.typ"
|
||||
|
||||
#include "../includes/testing/01-plan.typ"
|
||||
11080
Report/testing-export/02_test_sets.pdf
Normal file
11080
Report/testing-export/02_test_sets.pdf
Normal file
File diff suppressed because it is too large
Load Diff
12
Report/testing-export/02_test_sets.typ
Normal file
12
Report/testing-export/02_test_sets.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
#import "_document.typ": testing-export-doc
|
||||
#show: doc => testing-export-doc(
|
||||
title: [Наборы тестов],
|
||||
criterion: [Критерий 1.2 — наличие наборов тестов],
|
||||
doc,
|
||||
)
|
||||
|
||||
= Тестирование программного обеспечения
|
||||
|
||||
#include "../includes/testing/_intro.typ"
|
||||
|
||||
#include "../includes/testing/02-test-sets.typ"
|
||||
121698
Report/testing-export/03_automation_code.pdf
Normal file
121698
Report/testing-export/03_automation_code.pdf
Normal file
File diff suppressed because one or more lines are too long
12
Report/testing-export/03_automation_code.typ
Normal file
12
Report/testing-export/03_automation_code.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
#import "_document.typ": testing-export-doc
|
||||
#show: doc => testing-export-doc(
|
||||
title: [Автоматизированное тестирование],
|
||||
criterion: [Критерий 1.3 — код модулей автоматизированного тестирования],
|
||||
doc,
|
||||
)
|
||||
|
||||
= Тестирование программного обеспечения
|
||||
|
||||
#include "../includes/testing/_intro.typ"
|
||||
|
||||
#include "../includes/testing/03-automation.typ"
|
||||
4266
Report/testing-export/04_test_report.pdf
Normal file
4266
Report/testing-export/04_test_report.pdf
Normal file
File diff suppressed because it is too large
Load Diff
12
Report/testing-export/04_test_report.typ
Normal file
12
Report/testing-export/04_test_report.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
#import "_document.typ": testing-export-doc
|
||||
#show: doc => testing-export-doc(
|
||||
title: [Отчёт о проведении тестирования],
|
||||
criterion: [Критерий 1.4 — отчёт о проведении тестирования],
|
||||
doc,
|
||||
)
|
||||
|
||||
= Тестирование программного обеспечения
|
||||
|
||||
#include "../includes/testing/_intro.typ"
|
||||
|
||||
#include "../includes/testing/04-report.typ"
|
||||
39
Report/testing-export/README.md
Normal file
39
Report/testing-export/README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Экспорт раздела «Тестирование» (ПЗ ВКР Wallenc)
|
||||
|
||||
Каталог содержит **4 автономных документа** для загрузки в систему оценивания (критерии 1.1–1.4). Исходники — фрагменты Typst из гл. 5 пояснительной записки (`Report/includes/testing/`).
|
||||
|
||||
## Файлы для загрузки
|
||||
|
||||
| Файл | Критерий | Содержание |
|
||||
|------|----------|------------|
|
||||
| `01_plan_testing.typ` / `.pdf` | **1.1** План тестирования | Цели, уровни, матрица T-1…T-12, критерии начала/окончания, среда |
|
||||
| `02_test_sets.typ` / `.pdf` | **1.2** Наборы тестов | ФР-1…ФР-6, матрица сценариев, трассировка ФР→тесты, реестр 68 unit-тестов, androidTest |
|
||||
| `03_automation_code.typ` / `.pdf` | **1.3** Код автотестов | Описание модулей, **листинги** `src/test` и `src/androidTest` (как в прил. А), скриншоты Gradle |
|
||||
| `04_test_report.typ` / `.pdf` | **1.4** Отчёт о тестировании | Протокол ручных T-7…T-12, сводка PASSED, трассировка, вывод |
|
||||
|
||||
## Сборка
|
||||
|
||||
```bash
|
||||
cd Report/testing-export/scripts
|
||||
./build.sh
|
||||
```
|
||||
|
||||
Скрипт вызывает `gen_test_listings.py` (листинги в `listings/generated-tests/`) и собирает четыре PDF.
|
||||
|
||||
Листинги автотестов генерируются отдельно от приложения А:
|
||||
|
||||
```bash
|
||||
cd Report
|
||||
python3 scripts/gen_test_listings.py
|
||||
```
|
||||
|
||||
Отдельно:
|
||||
|
||||
```bash
|
||||
cd Report
|
||||
typst compile --root .. testing-export/01_plan_testing.typ
|
||||
```
|
||||
|
||||
## Связь с полной ПЗ
|
||||
|
||||
Полная глава 5 подключает те же фрагменты через `Report/includes/ch05.typ`. При правке тестирования меняйте файлы в `includes/testing/`, затем пересоберите ПЗ и экспорт.
|
||||
48
Report/testing-export/_document.typ
Normal file
48
Report/testing-export/_document.typ
Normal file
@@ -0,0 +1,48 @@
|
||||
// Общая обёртка для автономных PDF по разделу тестирования (без полного оформления ГОСТ ВКР).
|
||||
#let testing-export-doc(
|
||||
title: "",
|
||||
criterion: "",
|
||||
body,
|
||||
) = {
|
||||
set page(
|
||||
paper: "a4",
|
||||
margin: (left: 3cm, right: 1.5cm, top: 2cm, bottom: 2cm),
|
||||
numbering: "1",
|
||||
)
|
||||
set text(font: "Times New Roman", size: 14pt, lang: "ru")
|
||||
set par(first-line-indent: 1.25cm, justify: true, leading: 0.65em)
|
||||
set heading(numbering: "1.1")
|
||||
show figure.where(kind: table): set block(breakable: true)
|
||||
|
||||
show heading.where(level: 1): it => {
|
||||
set text(size: 16pt, weight: "bold")
|
||||
align(center)[#it.body]
|
||||
v(0.75em)
|
||||
counter(heading).step(level: 2)
|
||||
}
|
||||
show heading.where(level: 2): it => {
|
||||
set text(size: 14pt, weight: "bold")
|
||||
v(0.5em)
|
||||
it
|
||||
v(0.35em)
|
||||
}
|
||||
show heading.where(level: 3): it => {
|
||||
set text(size: 14pt, weight: "bold", style: "italic")
|
||||
it
|
||||
v(0.25em)
|
||||
}
|
||||
|
||||
align(center)[
|
||||
#text(size: 12pt)[
|
||||
Фрагмент пояснительной записки ВКР\
|
||||
«Мобильное приложение для защищённого хранения пользовательских данных» (Wallenc)
|
||||
]
|
||||
#v(0.4em)
|
||||
#text(size: 11pt, style: "italic")[#criterion]
|
||||
#v(0.6em)
|
||||
#text(size: 16pt, weight: "bold")[#title]
|
||||
#v(1.2em)
|
||||
]
|
||||
|
||||
body
|
||||
}
|
||||
16
Report/testing-export/scripts/build.sh
Executable file
16
Report/testing-export/scripts/build.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Сборка четырёх PDF для загрузки по критериям тестирования.
|
||||
set -euo pipefail
|
||||
|
||||
REPORT="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
EXPORT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$REPORT"
|
||||
|
||||
python3 scripts/gen_test_listings.py
|
||||
|
||||
for stem in 01_plan_testing 02_test_sets 03_automation_code 04_test_report; do
|
||||
echo "Compiling $stem.typ ..."
|
||||
typst compile --root .. "$EXPORT/$stem.typ" "$EXPORT/$stem.pdf"
|
||||
done
|
||||
|
||||
echo "Done: $EXPORT/*.pdf"
|
||||
Reference in New Issue
Block a user