Is it possible to create an arbitrary arbitrary generator in ScalaTest (which mixes Checkers for the ScalaCheck property) that tests Java code? eg. next necessary steps for each test inside forAll
val fund = new Fund()
val fundAccount = new Account(Account.RETIREMENT)
val consumer = new Consumer("John")
.createAccount(fundAccount)
fund.addConsumer(consumer)
fundAccount.deposit(amount)
above - a preliminary code before approving the results, etc.
source
share