Skip to content

Commit

Permalink
Add additional test scenarios for ping
Browse files Browse the repository at this point in the history
  • Loading branch information
pbashyal-nmdp committed May 14, 2024
1 parent bb87b83 commit 734bbd8
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/features/allele.feature
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
Feature: Alleles

Scenario Outline: allele reduction with ping

Given the allele as <Allele>
When reducing on the <Level> level with ping
Then the reduced allele is found to be <Redux Allele>

Examples:
| Allele | Level | Redux Allele |
| C*02:02 | lg | C*02:02g |
| C*02:02 | lgx | C*02:02 |
| C*02:10 | lg | C*02:02g |
| C*02:10 | lgx | C*02:02 |
| C*06:17 | lgx | C*06:02 |

Scenario Outline: allele reduction

Given the allele as <Allele>
Expand Down
76 changes: 76 additions & 0 deletions tests/features/p_g_group.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,79 @@ Feature: P and G Groups
| Allele | Level | Redux Allele |
| A*02:01P | lgx | A*02:01 |
| A*02:01:01G | lgx | A*02:01 |


Scenario Outline: allele reduction with ping

Given the allele as <Allele>
When reducing on the <Level> level with ping
Then the reduced allele is found to be <Redux Allele>

Examples:
| Allele | Level | Redux Allele |
| C*02:02 | lg | C*02:02g |
| C*02:02 | lgx | C*02:02 |
| C*02:10 | lg | C*02:02g |
| C*02:10 | lgx | C*02:02 |
| C*06:17 | lgx | C*06:02 |

Examples: DRB4*01s
| Allele | Level | Redux Allele |
| DRB4*01:03 | lgx | DRB4*01:01 |
| DRB4*01:03:01 | lgx | DRB4*01:01 |
| DRB4*01:03:02 | lgx | DRB4*01:01 |
| DRB4*01:03:03 | lgx | DRB4*01:01 |
| DRB4*01:03:04 | lgx | DRB4*01:01 |
| DRB4*01:03:05 | lgx | DRB4*01:01 |
| DRB4*01:03:06 | lgx | DRB4*01:01 |
| DRB4*01:03:07 | lgx | DRB4*01:01 |
| DRB4*01:03:08 | lgx | DRB4*01:01 |
| DRB4*01:03:09 | lgx | DRB4*01:01 |
| DRB4*01:03:10 | lgx | DRB4*01:01 |
| DRB4*01:03:11 | lgx | DRB4*01:01 |
| DRB4*01:03:12 | lgx | DRB4*01:01 |
| DRB4*01:03:13 | lgx | DRB4*01:01 |
| DRB4*01:03:14 | lgx | DRB4*01:01 |
| DRB4*01:03:15 | lgx | DRB4*01:01 |
| DRB4*01:03:16 | lgx | DRB4*01:01 |
| DRB4*01:03:17 | lgx | DRB4*01:01 |
| DRB4*01:03:18 | lgx | DRB4*01:01 |
| DRB4*01:03:19 | lgx | DRB4*01:01 |
| DRB4*01:03:20 | lgx | DRB4*01:01 |
| DRB4*01:03:21 | lgx | DRB4*01:01 |
| DRB4*01:03:22 | lgx | DRB4*01:01 |
| DRB4*01:03:23 | lgx | DRB4*01:01 |
| DRB4*01:03:24 | lgx | DRB4*01:01 |
| DRB4*01:03:25 | lgx | DRB4*01:01 |
| DRB4*01:03:26 | lgx | DRB4*01:01 |
| DRB4*01:03:27 | lgx | DRB4*01:01 |
| DRB4*01:03:28 | lgx | DRB4*01:01 |
| DRB4*01:03:29 | lgx | DRB4*01:01 |
| DRB4*01:03:30 | lgx | DRB4*01:01 |
| DRB4*01:03:31 | lgx | DRB4*01:01 |
| DRB4*01:03:32 | lgx | DRB4*01:01 |
| DRB4*01:03:33 | lgx | DRB4*01:01 |
| DRB4*01:03:34 | lgx | DRB4*01:01 |
| DRB4*01:03:35 | lgx | DRB4*01:01 |
| DRB4*01:03:01:01 | lgx | DRB4*01:01 |
| DRB4*01:03:01:03 | lgx | DRB4*01:01 |
| DRB4*01:03:01:04 | lgx | DRB4*01:01 |
| DRB4*01:03:01:05 | lgx | DRB4*01:01 |
| DRB4*01:03:01:06 | lgx | DRB4*01:01 |
| DRB4*01:03:01:07 | lgx | DRB4*01:01 |
| DRB4*01:03:01:08 | lgx | DRB4*01:01 |
| DRB4*01:03:01:09 | lgx | DRB4*01:01 |
| DRB4*01:03:01:10 | lgx | DRB4*01:01 |
| DRB4*01:03:01:11 | lgx | DRB4*01:01 |
| DRB4*01:03:01:12 | lgx | DRB4*01:01 |
| DRB4*01:03:01:14 | lgx | DRB4*01:01 |
| DRB4*01:03:01:15 | lgx | DRB4*01:01 |
| DRB4*01:03:01:16 | lgx | DRB4*01:01 |
| DRB4*01:03:01:17 | lgx | DRB4*01:01 |
| DRB4*01:03:01:18 | lgx | DRB4*01:01 |
| DRB4*01:03:02:01 | lgx | DRB4*01:01 |
| DRB4*01:03:02:02 | lgx | DRB4*01:01 |

Examples: C*02:10s
| Allele | Level | Redux Allele |
| C*02:10:02 | lgx | C*02:02 |

0 comments on commit 734bbd8

Please sign in to comment.