wiki:Features/AutomatedBuildAndTest

Version 7 (modified by bowtie, 4 years ago) (diff)

--

Description

Padre Run Tests
Support for creating and running unit tests
You need to run perl *.PL first (see Test 2 below).

  • Run -> Run Tests
  • Run -> Run Build and Tests
  • Run -> Run This Test

Tickets

Ticket Resolution Summary Owner Reporter
#1432 fixed task manager test segfaults with DBI >= 1.619 alias, adamk dod
#1210 fixed 76-preferences.t fails while passing all the tests szabgab claudio
#1202 fixed Add separation bar bowtie
#1187 fixed Run This Test szabgab bowtie
#281 wontfix TDD using Padre szabgab
#65 fixed Add capability to run the unit tests of a project szabgab

Test

Setup

  • Module::Build (MB)
    • module-starter --mb --module=Module::Build --author="Fred Bloggs" --email=fb@… --verbose
  • ExtUtils::MakeMaker? (EUMM)
    • module-starter --eumm --module=ExtUtils::MakeMaker? --author="Fred Bloggs" --email=fb@… --verbose
  • Module::Install (MI)
    • module-starter --mi --module=Module::Install --author="Fred Bloggs" --email=fb@… --verbose

Test

All test run in order left -> right

Test 1

run against a vanilla build.

Run This TestRun TestRun Build and TestRun Tests
EUMMPassFailFailFail
MBPassFailFailFail
MIFailFailFailFail

Test 2

run against a vanilla build, followed by:

  • EUMM perl Makefile.Pl
  • MB perl Build.PL
  • MI perl Makefile.PL
Run This TestRun TestRun Build and TestRun Tests Run This Test
EUMMPassFailPassPassPass
MBPassFailPassPassPass
MIFailFailPassPassPass

Test 3

run against a vanilla build.

Padre/lib/Padre/Wx/Main.pm

sub on_run_this_test {

line 2590 approx.

$self->run_command("$prove -lv $filename");

Run This TestRun TestRun Build and TestRun Tests
EUMMPassFailFailFail
MBPassFailFailFail
MIPassFailFailFail

TODO

Attachments (1)

Download all attachments as: .zip