It's a simple program that doesn't use any other modules, and those are easy to test. More often, testing a program completely means faking up input to another module, trying to coax the right output from something you're not supposed to be testing anyway.
Testing is a lot easier when you can control the entire environment. With Test::MockObject, you can get a lot closer.
Test::MockObject allows you to create objects that conform to particular interfaces with very little code. You don't have to reimplement the behavior, just the input and the output.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.20200122-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
1.20200122-bp155.2.11 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.20200122-bp154.1.25 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.20161202-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.20161202-bp152.3.15 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.20161202-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.20161202-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.20161202-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|