| Lancillotto Una biblioteca di specifiche e verifica guidata dal comportamento |
Scarica ora |
Lancillotto Classifica e riepilogo
- Sito web dell'editore:
- http://withaherring.blogspot.com/
Lancillotto Tag
Lancillotto Descrizione
Una biblioteca di specifiche e di verifica guidata dal comportamento Lancelot è un modulo Python che consente di specificare e verificare il comportamento di classe e funzione utilizzando una sintassi simile a una DSL, ad esempio: @Verifiabledef can_peek_and_pop_after_push (): spec = spec (stack, data = new_stack) spec.Quando (spec.push ( valore = 'a')) spec.then (spec.peek ()). Dovresti_be ('a') spec.then (spec.pop ()). Dovresti_be ('a') spec.then (spec.peek () ) ..Should_raise (IndexError) Spec.then (spec.pop ()). I requisiti DOVUR_Reise (IndexError): · Python.
Lancillotto Software correlato