Skip to content

[orx-boofcv] Add first test - #362

Closed
hamoid wants to merge 2 commits into
masterfrom
addBoofcvTest
Closed

[orx-boofcv] Add first test#362
hamoid wants to merge 2 commits into
masterfrom
addBoofcvTest

Conversation

@hamoid

@hamoid hamoid commented Jul 13, 2025

Copy link
Copy Markdown
Member

Here my first attempt at adding tests to orx'es.

  • Is it the right approach to use nullgl? If I don't it fails to create an application, but I'm not sure if this is the right solution. Also it's not ideal because with nullgl I couldn't use drawImage or a render target if I recall correctly.
  • I noticed that the orx'es inside orx-jvm use a different folder structure: they do not have mainJvm, demoJvm, testJvm but only main, demo and test. Is this something that needs to be changed eventually?

@edwinRNDR

Copy link
Copy Markdown
Member

The folder structure is different because it uses the kotlin plugin through kotlin("jvm") instead of kotlin("multiplatform"). I think it is best to keep using the jvm variant and use the module structure that comes with it.

@edwinRNDR

Copy link
Copy Markdown
Member

You should just test with openrndr-gl3 btw. You can have a look at how that is done in openrndr-gl3 itself.

@hamoid

hamoid commented Sep 2, 2025

Copy link
Copy Markdown
Member Author

orx-boofcv uses the kotlin-jvm convention. I don't see any cases where packages using that convention have tests. openrndr-gl3 uses the kotlin-multiplatform convention.

I tried copying the test parts of its gradle file to orx-boofcv but it wasn't that happy.

If you could give more tips or make a working example I could work on adding tests to orx'es.

@hamoid hamoid closed this in e4ee9bc Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants