Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
18 0 0 0 100% 1.68

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
it.tidalwave.accounting.model.types.impl 7 0 0 0 100% 0.202
it.tidalwave.accounting.model.types 6 0 0 0 100% 0.039
it.tidalwave.accounting.exporter.xml.impl 5 0 0 0 100% 0.83
it.tidalwave.accounting.importer.ibiz.impl 0 0 0 0 0% 0.609

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

it.tidalwave.accounting.model.types.impl

Class Tests Errors Failures Skipped Success Rate Time
CustomerTest 1 0 0 0 100% 0.052
HourlyReportGeneratorTest 4 0 0 0 100% 0.129
JobEventTest 1 0 0 0 100% 0.02
ProjectTest 1 0 0 0 100% 0.001

it.tidalwave.accounting.model.types

Class Tests Errors Failures Skipped Success Rate Time
AddressTest 1 0 0 0 100% 0.033
MoneyTest 5 0 0 0 100% 0.006

it.tidalwave.accounting.exporter.xml.impl

Class Tests Errors Failures Skipped Success Rate Time
AccountingXmlMarshallableTest 3 0 0 0 100% 0.553
AccountingXmlUnmarshallableTest 2 0 0 0 100% 0.277

it.tidalwave.accounting.importer.ibiz.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultIBizImporterTest 0 0 0 0 0% 0.609

Test Cases

[Summary] [Package List] [Test Cases]

AddressTest

toString_must_return_all_the_fields 0.033

MoneyTest

greaterThan_and_lowerThan_must_be_false_when_equality 0.003
greaterThan_and_lowerThan_must_work_at_the_opposite 0.001
isEqualTo_must_work 0
toString_for_ZERO_must_be_properly_computed 0.002
toString_must_be_properly_computed 0

CustomerTest

toString_must_return_all_the_fields 0.052

HourlyReportGeneratorTest

must_properly_generate_report[Scenario1, InMemoryProject(id=401, customer=InMemoryCustomer(id=2, name=ACME Financing, billingAddress=Address(street=Corso Magenta 20, city=Milano, state=MI, country=Italy, zip=20100), vatNumber=IT3465346092), name=Acme Financing Project 2, number=PRJ ACME-4, description=Acme Financing Project 2, notes=, status=OPEN, hourlyRate=240.00 EUR, budget=456789.00 EUR, startDate=2014-02-17, endDate=2014-06-21)](1) 0.086
must_properly_generate_report[Scenario1, InMemoryProject(id=398, customer=InMemoryCustomer(id=1, name=ACME Consulting, billingAddress=Address(street=Corso Italia 10, city=Genova, state=GE, country=Italy, zip=16145), vatNumber=IT6546034963), name=Acme Consulting Project 1, number=PRJ ACME-1, description=Acme Consulting Project 1, notes=, status=OPEN, hourlyRate=120.00 EUR, budget=123456.00 EUR, startDate=2013-04-02, endDate=2013-07-04)](2) 0.015
must_properly_generate_report[Scenario1, InMemoryProject(id=399, customer=InMemoryCustomer(id=1, name=ACME Consulting, billingAddress=Address(street=Corso Italia 10, city=Genova, state=GE, country=Italy, zip=16145), vatNumber=IT6546034963), name=Acme Consulting Project 2, number=PRJ ACME-2, description=Acme Consulting Project 2, notes=, status=OPEN, hourlyRate=150.00 EUR, budget=234567.00 EUR, startDate=2013-05-03, endDate=2013-09-11)](3) 0.018
must_properly_generate_report[Scenario1, InMemoryProject(id=400, customer=InMemoryCustomer(id=2, name=ACME Financing, billingAddress=Address(street=Corso Magenta 20, city=Milano, state=MI, country=Italy, zip=20100), vatNumber=IT3465346092), name=Acme Financing Project 1, number=PRJ ACME-3, description=Acme Financing Project 1, notes=, status=OPEN, hourlyRate=210.00 EUR, budget=345678.00 EUR, startDate=2014-01-22, endDate=2014-03-10)](4) 0.01

JobEventTest

toString_must_be_properly_computed 0.02

ProjectTest

toString_must_be_properly_computed 0.001

AccountingXmlMarshallableTest

consistencyTest 0.133
must_properly_marshall[Empty, it.tidalwave.accounting.model.impl.InMemoryAccounting@4cc7e3ad](1) 0.294
must_properly_marshall[Scenario1, it.tidalwave.accounting.model.impl.InMemoryAccounting@534d0cfa](2) 0.126

AccountingXmlUnmarshallableTest

must_properly_unmarshall[XmlEmpty](1) 0.032
must_properly_unmarshall[XmlScenario1](2) 0.245