I automated integration testing... Here's how

I automated integration testing... Here's how

Charm CLI

1 год назад

7,963 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@neoplumes
@neoplumes - 21.02.2023 07:21

Huh. I just released a cli testing tool. But this is so much better in every way

Ответить
@zekodun
@zekodun - 15.02.2023 04:58

Interesting. kind of like expect but without the bloat of TCL/TK. Nice work!

Ответить
@fruitfcker5351
@fruitfcker5351 - 13.02.2023 05:37

You should have used "Betamax". It's smaller.

Ответить
@totallynotvme
@totallynotvme - 12.02.2023 17:13

Love the work you guys do! Makes working with the terminal so much better and nicer to look at

Ответить
@KyleThompson228
@KyleThompson228 - 08.02.2023 21:27

Are charm libraries only available in Go? some of my rust side projects could really benefit but it doesn't seem available to me.

Ответить
@Zonkin
@Zonkin - 08.02.2023 09:19

Seems most relevant for CLIs, but pretty amazing for those…

Ответить
@LimitedWard
@LimitedWard - 08.02.2023 06:54

I can see the gif feature being really useful, but I'd hesitate to use this for integration testing. It feels like that would just produce very brittle tests that fail whenever some basic output changes, even if it's doing the right thing. But maybe I'm misunderstanding how it works.

Ответить
@asdasddas100
@asdasddas100 - 08.02.2023 02:48

Wait this is actually sick

Ответить
@gabrieljose7041
@gabrieljose7041 - 07.02.2023 22:04

This is really awesome

Ответить
@couffin
@couffin - 07.02.2023 17:43

That realy cute! I wondering if you can do some ci integration examples

Ответить
@user-xd5gd4pc9h
@user-xd5gd4pc9h - 07.02.2023 12:38

Cool!

Ответить
@kodder
@kodder - 07.02.2023 09:48

Cool

Ответить
@TaiGroot
@TaiGroot - 07.02.2023 09:22

The golden output feature is a nice addition! I hadn't considered using it for CI but that's a nice idea for UI testing.

How does tape handle recording for terminals with different coloring features? For example, if my UI tests revolve around making sure I show 'safe' (viewable) output for every type of terminal color support, and VHS always records in color (since it brings its own terminal)? Is there a way to tell VHS to set TERM variables and use different terminal color support for termenv/bubbletea? Or does the user have to set shell variables themselves?

Ответить