[
https://issues.apache.org/jira/browse/CASSANDRA-17293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495245#comment-17495245
]
Brad Schoening edited comment on CASSANDRA-17293 at 2/20/22, 10:52 PM:
-----------------------------------------------------------------------
It seems ./cassandra-builds/build-scripts/cassandra-test-docker.sh: line 137 is
looking simply to tail
[cqlshlib.xml|https://ci-cassandra.apache.org/job/Cassandra-trunk-cqlsh-tests/cython=no,jdk=jdk_1.8_latest,label=cassandra/lastSuccessfulBuild/artifact/cqlshlib.xml]
which was an xml report no longer generated and should not be needed.
If its report is really used and needed, pytest can generate an html report
with the below in cassandra-cqlsh-tests.sh
py.test --junitxml=cqlshlib.xml
was (Author: bschoeni):
It seems ./cassandra-builds/build-scripts/cassandra-test-docker.sh: line 137 is
looking simply to tail
[cqlshlib.xml|https://ci-cassandra.apache.org/job/Cassandra-trunk-cqlsh-tests/cython=no,jdk=jdk_1.8_latest,label=cassandra/lastSuccessfulBuild/artifact/cqlshlib.xml]
which was an xml report no longer generated and should not be needed.
If its report is really used and needed, pytest can generate an html report
with
py.test --junitxml=cqlshlib.xml
> Update python test framework from nose to pytest
> ------------------------------------------------
>
> Key: CASSANDRA-17293
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17293
> Project: Cassandra
> Issue Type: Task
> Components: CQL/Interpreter
> Reporter: Brad Schoening
> Assignee: Brad Schoening
> Priority: Normal
> Fix For: 4.1
>
>
> I had trouble trying to install and run the python nose test from pip
> (nosetest not found).
> According to the homepage of nose at [https://nose.readthedocs.io/en/latest/]
> h1. _Note to Users_
> _Nose has been in maintenance mode for the past several years and will likely
> cease without a new person/team to take over maintainership. New projects
> should consider using [Nose2|https://github.com/nose-devs/nose2],
> [py.test|http://pytest.org/], or just plain unittest/unittest2._
>
> Upgrading to pytest is likely the least effort.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]