ribesg
05/13/2019, 9:12 AM@Test
annotation?
2. Can you have top-level tests instead of having to put them in a class?
ribesg
05/13/2019, 10:23 AMribesg
05/13/2019, 10:24 AM> Task :iosTest FAILED
dyld: Library not loaded: @rpath/Bugsnag.framework/Bugsnag
Referenced from: <project>/build/bin/iosSim/testDebugExecutable/test.kexe
Reason: image not found
Child process terminated with signal 6: Abort trap
FAILURE: Build failed with an exception.
ribesg
05/13/2019, 10:27 AMribesg:testDebugExecutable/ (develop✗) $ otool -L test.kexe [12:26:27]
test.kexe:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1570.15.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
@rpath/Bugsnag.framework/Bugsnag (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1570.15.0)
/usr/lib/libc++abi.dylib (compatibility version 1.0.0, current version 400.17.0)
svyatoslav.scherbina
05/13/2019, 10:34 AMdyld: Library not loaded: @rpath/Bugsnag.framework/BugsnagIt is likely missing at location where
test.kexe
expects to find it, i.e. <project>/build/bin/iosSim/testDebugExecutable/Frameworks/Bugsnag.framework/Bugsnag
ribesg
05/13/2019, 10:35 AM@rpath
? Wait it may not be a good idea to travel outside of testDebugExecutable
svyatoslav.scherbina
05/13/2019, 10:37 AMribesg
05/13/2019, 10:39 AMtestDebugExecutable
directory makes more sense than the other way aroundribesg
05/13/2019, 10:53 AMrusshwolf
05/13/2019, 11:55 AMkotlin.test.Test
annotation on the JVM is just a typealias, so you need to include junit or testng to provide the actual implementation.ribesg
05/13/2019, 11:57 AMrusshwolf
05/13/2019, 12:50 PMribesg
05/13/2019, 12:52 PMkotlin-test-jvm
providing the same implementations than for js and native. I understand that it can’t be in common because you can’t override actuals but I don’t understand that it doesn’t exist at all.