test names can't contain spaces

Bug #777671 reported by Emily Bache
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TextTest
Won't Fix
Wishlist
Unassigned

Bug Description

This is a feature request - at present test names can't contain spaces, and I think this should be changed. For non-technical users this seems very strange since they can have spaces in names in other applications. It prevents people from writing reall expressive names for their tests. It looks bad in demos.

I believe this restriction is because the test is represented by an underlying directory. I would like texttest to allow test names with spaces, and replace them with underscores or dashes in the directory name. Perhaps the testsuite file could be use to keep track of which test names correspond to which directories.

Changed in texttest:
importance: Undecided → Wishlist
Revision history for this message
Geoff Bache (geoff.bache) wrote :

A suggestion to fix this would be simply to silently replace all spaces with underscores instead of refusing the name.

I don't see a lot of value in allowing spaces in general. We banned them originally because spaces in the directory names make all sorts of trouble. We could introduce entirely new syntax into the testsuite file to allow test names and directory names to be different, but that seems like a lot of complexity (with attendant risk of bugs) to add for not a lot of gain.

Test names aren't supposed to be sentences, that's what the description is for.

Revision history for this message
Geoff Bache (geoff.bache) wrote :

Don't think this is going to happen.

Changed in texttest:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.