Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adds tests #9

Merged
merged 4 commits into from
Mar 25, 2024
Merged

Feat/adds tests #9

merged 4 commits into from
Mar 25, 2024

Conversation

steezeburger
Copy link
Member

  • adds some interfaces so we can create mock interfaces
  • adds some tests
  • helpful just commands

@steezeburger steezeburger merged commit 8a349d8 into integration/beta-version Mar 25, 2024
1 check passed
@steezeburger steezeburger deleted the feat/adds-tests branch March 25, 2024 20:42
steezeburger added a commit that referenced this pull request Mar 26, 2024
* add version cmd, ignore bin dir

* add init command, embed all config, started on binary download

* output path for downloaded binaries ignored

* working downloading and file extraction

* added mprocs config as a stop gap, readme

* small readme updates, skip download if bin already present

* use localized data dir for sequencer and cometbft data

* added run command, renamed bin to astria-dev

* readme updates, run cmd init checking print improvements

* typo fix

* readme updates

* revert module naming

* reorg of commands to be sub commands of dev

* move embedded files to config dir

* status prints added to embedded file recreation

* conditional compilation for different os and arch

* removed just and mprocs deps

* add run check for rollup rpc port for composer

* small error print and readme updates

* cleanup of initialize check, added linux support

* add fmt to justfile

* default dir changed to ~/.astria

* env cleanup

* force stdout for sequencer

* initial tview ui

* add default just command

* added running cometbft to tview ui

* added conductor and composer to tview ui

* cmd definitions moved outside of go routines to allow for sigint capture

* removed sleeps, added channel waits

* added clean cmd for removing local cometbft and sequencer data

* added clear all command

* added word wrap and removal of ansi escape characters view toggle

* remove testing text color print

* ansi escape character now parsed

* cleanup and comment updates

* added basic help bar at bottom

* added ability to select app and jump in and out of fullscreen

* prevent focus change when in fullscreen

* typo fixes

* update just commands

* readme updates, disable completion command

* small readme update, added fullscreen specific help bar

* added arrow key and mouse scrolling to fullscreen view

* updates to autoscroll setting, add stderr capture to sequencer

* cleaned up appendText function, updated justfile to capture tview logs, added pskill command to justfile

* add stderr capture to output

* justfile comments

* App and ProcessRunner structs

* todo

* settings status display updated, added basic help page

* filled out main help page

* action keys are no longer case sensitive

* added more to help window

* added boarderless logs option

* fixed border typo

* comment

* slight reorg. comments.

* refactor processrunner. contexts.

* getters

* SetInputCapture, stop, word wrap

* keyboard shortcuts for selecting panes, fullscreen, exit

* comment

* more clear pattern for ui state

* autoscroll and notes

* comments. cruft.

* words

* add command for sequencer create account (#6)

* add command for sequencer create account

* name devtools package

* move error handling to command code. test.

* descriptions and comment cleanup.

* justfile help docstrings. test command.

* remove autocorrect fail

* add github action to test go code

* remove cruft

* Feature: gh actions (#2)

* gh actions

* fix github actions

* fix package name

* Feat/adds tests (#9)

* add "t" as alias for "test" in justfile

* refactor to be more testable. ProcessRunner interface and mock.

* "pscheck" just command to check for leftover astria processes

* more tests

* merge main

* cleanup func. doc comment.

* move version to root of cmd

* reorganize clean command

* naming conventions

* Relocate Cometbft Initialization (#10)

* moved cometbft setup from run cmd to init cmd

* fmt.Println formating fix

* added borderless logs toggle when in full screen

* added borderless logs toggle when in full screen (#16)

---------

Co-authored-by: Sam Bukowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant