From: beierlm Date: Thu, 29 Apr 2021 19:18:09 +0000 (-0400) Subject: Adding Unit Test Producer X-Git-Tag: release-v11.0-start X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3d3132087259bce3f9f68d5b05984d1a49093de3;p=osm%2FPLA.git 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: Id5d28587195666eb5a97b348fc4f673a0ee0dae8 Signed-off-by: beierlm --- 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