test names can't contain spaces
Bug #777671 reported by
Emily Bache
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 |
To post a comment you must log in.
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.