Data-Test-Executer Framework speziell zum Test von Datenverarbeitungen mit Datengenerierung, Systemvorbereitungen, Einspielungen, ganzheitlicher diversifizierender Vergleich
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

2 years ago
# https://flask.palletsprojects.com/en/2.0.x/tutorial/views/
# --------------------------------------------------------------
import functools
import utils.config_tool
from flask import (
Blueprint, flash, g, redirect, render_template, request, session, url_for
)
from werkzeug.security import check_password_hash, generate_password_hash
from webflask.db import get_db
bp = Blueprint('testcase', __name__, url_prefix='/testcase')
@bp.route('/selection', methods=('GET', 'POST'))
def selection():
if request.method == 'POST':
error = None
flash(error)
return render_template('testcase/selection.html')
@bp.route('/overview', methods=('GET', 'POST'))
def overview():
"""
it shows an overview to testcase
:param: nothing
:return: rendered page with jsondata
* info with link to ucarmesin.de/joomla
* last git-updates (specifications)
* last executions (-> reports) with status running|to-check|with-faults|ok
* selection of conrete testcase by application, testsuite, project, regex?, full name
"""
if request.method == 'POST':
error = None
flash(error)
return render_template('testcase/overview.html')