unit testing extensions?

Greg's Avatar

Greg

22 Apr, 2017 11:44 PM

I'm wondering if it's possible to unit test extension logic related to finding accounts and creating transactions?

I see AccountBook has fakeAccountBook() and initializeNewEmptyAccounts() methods which look promising in terms of creating a test harness, but so far I haven't been able to get them to work. Are there any examples you could share of creating a dummy AccountBook for a unit test?

Thanks!

  1. System closed this discussion on 22 Jul, 2017 11:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac