-
Notifications
You must be signed in to change notification settings - Fork 614
Closed
Description
When I writing a step that have a default parameter, this exeception is raised:
"Can not find a matching value for an argument $encaminhamento
em method FeatureContext::lancoUmaFichaDeAtendimentoComDados()
"
Example:
/**
* Finalidade: Lançar uma ficha de atendimento no módulo ambulatorial
* @then lanco uma ficha de atendimento com os dados
* @then lanco uma ficha de atendimento com os dados e encaminho para :encaminhamento
* @param TableNode $oDados
*/
public function lancoUmaFichaDeAtendimentoComDados($encaminhamento = '', TableNode $oDados) {
/**
* Lots of assertions
*/
}
Here is a .feature example file
# language: pt
Funcionalidade: Testar o teste
@javascript
Cenario: incluir o atendimento e repassar
Dado estou em "/"
Entao lanco uma ficha de atendimento com os dados
|cgs|nome |profissional|especialidade|ambulatorio|
|6 |ALBERT EINSTEN| | |10 |
Entao lanco uma ficha de atendimento com os dados encaminho para "Consulta Medica"
|cgs|nome |profissional|especialidade|ambulatorio|
| 4 |DONALD DUCK| |225125 |10 |
Metadata
Metadata
Assignees
Labels
No labels