Gábor Szabó
Gábor Szabó
The manual catalogue has some some advantages, but it will be hard to scale it once there are tens of thousands of shards. It might be a better way to...
Using Python 3.10.6 on Linux I tried to run the tests of the project: ``` git clone [email protected]:savangco/backendpy.git pip install . PYTHONPATH=. pytest ``` Got this error: ``` ==================================== test...
``` #!/usr/bin/env perl use strict; use warnings; use autodie; use parent qw( Test::Class ); sub test_fork : Tests() { my $pid = fork or do { exit; }; waitpid $pid,...
I believe that Test::Class's current behavior with regard to the interaction between failed startup methods and shutdown methods is undesirable. I believe that shutdown methods should always run, even if...
Startup/setup methods in base classes that are overridden by subclasses are still called. For example: ``` package PigTest; use base 'Test::Class'; sub startup : Test(startup) { $self->{fixture} = PigService->create($argz) }...
Test::Class now dies if you load it at runtime: die "Test::Class was loaded too late (after the CHECK block was run). See 'A NOTE ON LOADING TEST CLASSES' in perldoc...
We are building a test suite with dependencies across the tests, so they must be run in strict order. Because of the large amounts of tests to be included, we...
``` #!/usr/bin/perl package My::TestUtils; use parent qw(Test::Class); use Test::More; sub _skip { my ($self) = @_; skip "oops!", $self->num_tests(); } package My::Tests; BEGIN { push @ISA, 'My::TestUtils'; } use Test::More;...
In our test suite we have some Test::Class modules that all inherit from a subclass of Test::Class, and get run by a .t file that does the following: use Test::Class::Load...