systopia / de.systopia.xcm

CiviCRM Extended Contact Matcher
Other
5 stars 11 forks source link

First few tests (all passing on 5.8.1) #34

Closed artfulrobot closed 5 years ago

artfulrobot commented 5 years ago

not many - just enough to answer some questions I had, but offering in case it's helpful/something others can expand on.

artfulrobot commented 5 years ago

For #33

bjendres commented 5 years ago

I've tried to pull your tests, but they don't seem to be robust (enough). They all fail on my setup. I assume they would only work on an empty DB...?

artfulrobot commented 5 years ago

Yeah the tests rely on fixtures and a known db state. But CiviCRM's test system provides that automatically. Unless you're running them on 4.6 before the proper testing framework was in place?

bjendres commented 5 years ago

Thanks for getting us started, @artfulrobot. We really should find the time to add more of them