bvaughn / bvaughn/reflex-unit

Add "should" prefix for method names

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
HTML
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
I prefer "spec" notation for my test names:

public function should_return_correct_values() : void {}

Currently only "test" prefix is supported.

Workaround is to use [Test] metatag with -keep-as3-metadata+=Test compiler
option.

[Test]
public function should_return_correct_values() : void {}

Suggested fix:

Expose static array with prefixes.
```

Original issue reported on code.google.com by `alex.gor...@gmail.com` on 15 May 2008 at 5:29

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by locating the existing handling for the `test` method prefix and the proposed static prefix configuration; use the `should_return_correct_values` example and the `[Test]` metadata workaround to verify the expected behavior.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.