From a5c34c218a6941c7bb8b88e3e98374ed4302d203 Mon Sep 17 00:00:00 2001 From: beierlm Date: Thu, 29 Apr 2021 15:10:53 -0400 Subject: [PATCH] Adding Unit Test Producer Adding nose2 configuration file to cause unit tests to be reported in the same way as other modules, and so Jenkins can report on tests Change-Id: I1a528b240c4a84c1ac254e743c571c20201d78a6 Signed-off-by: beierlm --- nose2.cfg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 nose2.cfg diff --git a/nose2.cfg b/nose2.cfg new file mode 100644 index 0000000..6823267 --- /dev/null +++ b/nose2.cfg @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# Copyright ETSI Contributors and Others. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +[unittest] +plugins = nose2.plugins.junitxml + +[junit-xml] +always-on = True +keep_restricted = False +path = nosetests.xml +test_fullname = False -- 2.25.1