mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-mxnet] leezu opened a new issue #19337: Splitting up test functions in tests/nightly/test_large_{array,vector}.py
Date Mon, 12 Oct 2020 18:05:12 GMT

leezu opened a new issue #19337:
URL: https://github.com/apache/incubator-mxnet/issues/19337


   https://github.com/apache/incubator-mxnet/blob/4dc99472a510299017ed19347ed6d41f2f6680d2/tests/nightly/test_large_vector.py
and https://github.com/apache/incubator-mxnet/blob/4dc99472a510299017ed19347ed6d41f2f6680d2/tests/nightly/test_large_array.py
   
   use a small number of test functions that itself define a large number of inner `check`
functions and run them in sequence.
   
   The runs are independent and each `check` function should be a separate test function.
   
   This would have a couple of advantages:
   - allow users to trigger a subset of tests without modifying the test file
   - simplify the seed management as no explicit `@with_seed` would be needed anymore.
   
   cc @ChaiBapchya @Zha0q1
   
   https://github.com/apache/incubator-mxnet/blob/4dc99472a510299017ed19347ed6d41f2f6680d2/tests/nightly/test_large_array.py#L502-L529


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


Mime
View raw message