update
This commit is contained in:
parent
fef45678dc
commit
cbbfa95759
@ -14,24 +14,24 @@ stages:
|
||||
- search
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: registry.jetbrains.team/p/writerside/builder/writerside-builder:$DOCKER_VERSION
|
||||
script:
|
||||
- set -e
|
||||
- export DISPLAY=:99
|
||||
- Xvfb :99 &
|
||||
- PROJECT_ID=$(echo $INSTANCE | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]')
|
||||
- ARTIFACT="webHelp${PROJECT_ID}2-all.zip"
|
||||
- /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product $INSTANCE --runner gitlab -output-dir public
|
||||
- echo "Testing existence of $ARTIFACT..."
|
||||
- ls -la public
|
||||
- test -e public/$ARTIFACT
|
||||
artifacts:
|
||||
paths:
|
||||
- public/$ARTIFACT
|
||||
- public/report.json
|
||||
- public/$ALGOLIA_ARTIFACT
|
||||
expire_in: 1 week
|
||||
stage: build
|
||||
image: registry.jetbrains.team/p/writerside/builder/writerside-builder:$DOCKER_VERSION
|
||||
script:
|
||||
- set -e
|
||||
- export DISPLAY=:99
|
||||
- Xvfb :99 &
|
||||
- PROJECT_ID=$(echo $INSTANCE | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]')
|
||||
- ARTIFACT="webHelp${PROJECT_ID}2-all.zip"
|
||||
- /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product $INSTANCE --runner gitlab -output-dir public
|
||||
- echo "Testing existence of $ARTIFACT..."
|
||||
- ls -la public
|
||||
- test -e public/$ARTIFACT
|
||||
artifacts:
|
||||
paths:
|
||||
- public/$ARTIFACT
|
||||
- public/report.json
|
||||
- public/$ALGOLIA_ARTIFACT
|
||||
expire_in: 1 week
|
||||
|
||||
test:
|
||||
stage: test
|
||||
@ -64,31 +64,31 @@ pages:
|
||||
- public
|
||||
expire_in: 1 week
|
||||
|
||||
search:
|
||||
stage: search
|
||||
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3
|
||||
dependencies:
|
||||
- build
|
||||
- test
|
||||
- pages
|
||||
script:
|
||||
- echo "Checking contents of the public directory..."
|
||||
- ls -la public
|
||||
- if [ -z "$ALGOLIA_KEY" ]; then
|
||||
echo "ALGOLIA_KEY is not set in Gitlab secrets";
|
||||
exit 1;
|
||||
fi
|
||||
- echo "ALGOLIA_KEY is set"
|
||||
- PROJECT_ID=$(echo $INSTANCE | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]')
|
||||
- ALGOLIA_ARTIFACT="algolia-indexes-${PROJECT_ID}.zip"
|
||||
- echo "ALGOLIA_ARTIFACT is $ALGOLIA_ARTIFACT"
|
||||
- if [ ! -f "public/$ALGOLIA_ARTIFACT" ]; then
|
||||
echo "Artifacts file public/$ALGOLIA_ARTIFACT not found!";
|
||||
exit 1;
|
||||
fi
|
||||
- unzip -O UTF-8 public/$ALGOLIA_ARTIFACT -d algolia-indexes
|
||||
- env "algolia-key=$ALGOLIA_KEY" java -jar /opt/builder/help-publication-agent.jar update-index --application-name $ALGOLIA_APP_NAME --index-name $ALGOLIA_INDEX_NAME --product $CONFIG_JSON_PRODUCT --version $CONFIG_JSON_VERSION --index-directory algolia-indexes/ 2>&1 | tee algolia-update-index-log.txt
|
||||
artifacts:
|
||||
paths:
|
||||
- algolia-update-index-log.txt
|
||||
expire_in: 1 week
|
||||
#search:
|
||||
# stage: search
|
||||
# image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3
|
||||
# dependencies:
|
||||
# - build
|
||||
# - test
|
||||
# - pages
|
||||
# script:
|
||||
# - echo "Checking contents of the public directory..."
|
||||
# - ls -la public
|
||||
# - if [ -z "$ALGOLIA_KEY" ]; then
|
||||
# echo "ALGOLIA_KEY is not set in Gitlab secrets";
|
||||
# exit 1;
|
||||
# fi
|
||||
# - echo "ALGOLIA_KEY is set"
|
||||
# - PROJECT_ID=$(echo $INSTANCE | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]')
|
||||
# - ALGOLIA_ARTIFACT="algolia-indexes-${PROJECT_ID}.zip"
|
||||
# - echo "ALGOLIA_ARTIFACT is $ALGOLIA_ARTIFACT"
|
||||
# - if [ ! -f "public/$ALGOLIA_ARTIFACT" ]; then
|
||||
# echo "Artifacts file public/$ALGOLIA_ARTIFACT not found!";
|
||||
# exit 1;
|
||||
# fi
|
||||
# - unzip -O UTF-8 public/$ALGOLIA_ARTIFACT -d algolia-indexes
|
||||
# - env "algolia-key=$ALGOLIA_KEY" java -jar /opt/builder/help-publication-agent.jar update-index --application-name $ALGOLIA_APP_NAME --index-name $ALGOLIA_INDEX_NAME --product $CONFIG_JSON_PRODUCT --version $CONFIG_JSON_VERSION --index-directory algolia-indexes/ 2>&1 | tee algolia-update-index-log.txt
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - algolia-update-index-log.txt
|
||||
# expire_in: 1 week
|
BIN
Writerside/images/image_556.png
Normal file
BIN
Writerside/images/image_556.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
@ -35,4 +35,27 @@
|
||||
> Black-/White-Box-Testing sind Konzepte, die auf verschiedene Test-Typen angewendet werden können
|
||||
|
||||
|
||||
##
|
||||
## Testing Quadrants Matrix
|
||||

|
||||
|
||||
### Quadrant 1: Technologie-fokussierte Tests, die das Development leiten
|
||||
- Developer Tests:
|
||||
- Unit tests
|
||||
- Verifizieren Funktionalität eines kleinen Subsets des Systems
|
||||
- Component-/Integration Tests:
|
||||
- Verifizieren Verhalten eines größeren Teils
|
||||
|
||||
- Tests sind nicht für den Kunden
|
||||
|
||||
## Unit Testing
|
||||
- Unit Tests sind die essenzielle Basis einer guten Test-Suite
|
||||
- Verglichen mit anderen, sind sie einfach zu erstellen und warten
|
||||
- Viele Unit-Tests :)
|
||||
|
||||
|
||||
## Goals of Testing during Implementation
|
||||
### Aktiviere nachhaltiges Wachstum des Software-Projekts
|
||||
- Nachhaltigkeit ist wichtig
|
||||
- Projektwachstum ist am Anfang einfach
|
||||
- Das Wachstum zu halten ist schwer
|
||||
-
|
Loading…
x
Reference in New Issue
Block a user