You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would add paritity in Go, but probably with +name instead of +command.
However, if doing the same as Py or TS, does it lead to the same issue of e2e translating to e-2-e? I'll need to check where that's happening because we use two different Go utils in different places. One of those (I suspect strcase) is breaking numbers instead of just changes in casing.
The API uses the same naming convention as TypeScript (camelCase), which is similar to Go (PascalCase), in that both use casing to split words. Python's much simpler to break words into (snake_case), same as the CLI (kebab-case). So maybe using the CLI's convention is the more neutral and consistent way to override the names in all SDKs.
Think about acronyms. For example SSH translates to s-s-h unless you have a list of common acronyms (like we do). But overriding to +name=ssh would make it less ambiguous or easier to know how to convert consistently.
What are you trying to do?
Allow customizing how function names are translated into commands.
For example:
Why is this important to you?
Function names are often translated to weird commands. For example
E2e
becomese-2-e
.How are you currently working around this?
I call my end-to-end test function
Etoe
. 🙈The text was updated successfully, but these errors were encountered: