Ticket #952 (assigned task)

Opened 6 years ago

Last modified 5 years ago

Remove Numbers in test function names

Reported by: euzuro Owned by: euzuro
Priority: minor Milestone: Maintenance
Component: tests Version: 2.4
Keywords: Cc:
State:

Description

There is really no point in having the numbers in the function names for the tests, so let's remove them once and for all.

example:

'test_01_tile_initialize' becomes 'test_tile_initialize'

Change History

  Changed 6 years ago by euzuro

  • owner set to euzuro

  Changed 6 years ago by euzuro

  • status changed from new to assigned

follow-up: ↓ 4   Changed 5 years ago by tschaub

Also, if you're working in test_Layer.html, all of the test results are grouped under a line that says test_Layer.html. Is there a reason to name the tests within test_Layer.html things like test_Layer_destroy.html? I think output like the following would be sensible enough.

Instead of

test_Layer.html: ok 14 (detailed: ok 81)
    test_99_Layer_destroy ok 5

we would have

test_Layer.html: ok 14 (detailed: ok 81)
    test_destroy ok 5

in reply to: ↑ 3   Changed 5 years ago by euzuro

Replying to tschaub:

Also, if you're working in test_Layer.html, all of the test results are grouped under a line that says test_Layer.html. Is there a reason to name the tests within test_Layer.html things like test_Layer_destroy.html? I think output like the following would be sensible enough. Instead of {{{ test_Layer.html: ok 14 (detailed: ok 81) test_99_Layer_destroy ok 5 }}} we would have {{{ test_Layer.html: ok 14 (detailed: ok 81) test_destroy ok 5 }}}

could not possibly agree more! à l'attaque!

  Changed 5 years ago by tschaub

(In [6006]) Just because I had it open and was looking at 952, I'm shortening test names. (see #952)

Note: See TracTickets for help on using tickets.