OfficeScenarioTests CoopShares+Assets #121

Merged
hsh-michaelhoennig merged 39 commits from feature/use-case-acceptance-tests-4 into master 2024-11-15 11:54:19 +01:00
4 changed files with 6 additions and 3 deletions
Showing only changes of commit f12ef76f05 - Show all commits

View File

@ -95,3 +95,6 @@ if [ ! -f .environment ]; then
cp .tc-environment .environment cp .tc-environment .environment
fi fi
source .environment source .environment
alias scenario-reports-upload='./gradlew convertMarkdownToHtml && ssh hsh03-hsngdev@h50.hostsharing.net "rm doms/hsngdev.hs-example.de/htdocs-ssl/scenarios/office/*.html" && scp doc/scenarios/*.html hsh03-hsngdev@h50.hostsharing.net:doms/hsngdev.hs-example.de/htdocs-ssl/scenarios/office'
alias scenario-reports-online='open https://hsngdev.hs-example.de/scenarios/office'

View File

@ -410,7 +410,7 @@ tasks.register('convertMarkdownToHtml') {
group = 'Conversion' group = 'Conversion'
// Define the template file and input directory // Define the template file and input directory
def templateFile = file('doc/scenarios/template.html') def templateFile = file('doc/scenarios/.template.html')
// Task configuration and execution // Task configuration and execution
doFirst { doFirst {
@ -425,7 +425,7 @@ tasks.register('convertMarkdownToHtml') {
// Check if the template file exists // Check if the template file exists
if (!templateFile.exists()) { if (!templateFile.exists()) {
throw new GradleException("Template file 'doc/scenarios/template.html' not found.") throw new GradleException("Template file 'doc/scenarios/.template.html' not found.")
} }
} }

View File

@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat;
public class TestReport { public class TestReport {
private final static File markdownLogFile = new File("doc/scenarios/last-debug-log.md"); private final static File markdownLogFile = new File("doc/scenarios/.last-debug-log.md");
private final Map<String, ?> aliases; private final Map<String, ?> aliases;
private final PrintWriter markdownLog; // records everything for debugging purposes private final PrintWriter markdownLog; // records everything for debugging purposes