From: beierlm Date: Thu, 29 Apr 2021 19:10:53 +0000 (-0400) Subject: Adding Unit Test Producer X-Git-Tag: release-v11.0-start~5 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=commitdiff_plain;h=a5c34c218a6941c7bb8b88e3e98374ed4302d203;ds=inline 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 --- 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