Giter Site home page Giter Site logo

No tests found? about mcjunitlib HOT 3 CLOSED

alcatrazescapee avatar alcatrazescapee commented on September 27, 2024
No tests found?

from mcjunitlib.

Comments (3)

alcatrazEscapee avatar alcatrazEscapee commented on September 27, 2024

Interesting. Two things come of note:

  • Change the logging level from unittest to debug (helpful if you're doing any debugging as the unittest log level can hide some actual errors).
  • What is the log output (at debug level) for this line?
Found supplied mod coordinates [some stuff should be here]

That should match the classpath roots that are being passed into the JUnit test discover-er, that's my first place I'd check.

from mcjunitlib.

robotgryphon avatar robotgryphon commented on September 27, 2024

Tried doing just that while troubleshooting, actually. I didn't see anything particularly obvious in the log, it just completed with nothing found.. also, the coords did look correct (paths were fine, classes were built there).

I'll try poking at it a bit more, see if I can't get a log to attach here shortly. Thanks.

from mcjunitlib.

robotgryphon avatar robotgryphon commented on September 27, 2024

Here are the debug and latest log files from the unit test run.

Updated to 1.4.3 and regenerated everything before the run, just to make sure it was the latest version. The most interesting thing I notice is the modlauncher "Current naming domain is 'mcp'" line.

Much further down (formatted with extra lines for easy reading):

[02Sep2021 14:53:19.145] [Server thread/DEBUG] [UnitTests/]: Found supplied mod coordinates [[
  D:\compact-crafting\build\resources\main, 
  D:\compact-crafting\build\classes\java\test, 
  D:\compact-crafting\build\resources\api, 
  D:\compact-crafting\build\resources\test, 
  D:\compact-crafting\build\classes\java\api, 
  D:\compact-crafting\build\classes\java\main
]]
[02Sep2021 14:53:19.743] [Server thread/UNITTEST] [UnitTests/]: Did not discover any tests to run.

So it definitely looks like it's picking up all three modules (api, main, and test) as well.

from mcjunitlib.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.