Testing GoIV with Images Assets (Test PR)#566
Testing GoIV with Images Assets (Test PR)#566NightMadness wants to merge 1 commit intofarkam135:masterfrom
Conversation
22bbf58 to
9ecbd96
Compare
9ecbd96 to
b778da9
Compare
|
I've given a very quick look, but I'm concerned by the amount of code you had to copy... It's good that at least you added comments there, but wouldn't it be better to separate that code so that it can be reused? Maybe that's the plan already? Maybe #499 would help? Also, does this need a connected device? |
|
OTOH sorry I forgot to say: having such tests would be great, since GoIV keeps having regressions. |
|
I first tried a regular test, the problem is loading the SO library files for tess-two didnt work Regarding refactoring, thats the next step. |
Uh, I wonder how pokescreenshot proceeds... But it seems it does the same, and uses mocking to test outside Android... https://github.com/BraisGabin/pokescreenshot/blob/master/processing/src/test/java/com/braisgabin/pokescreenshot/processing/OcrUnitTest.java |
Hi Team,
This an initial test for unit testing with images.
This allows us to run images through android as instrument and see if the image is processing correctly.
its a good start, and one step close to an API, please let me know what you think.