Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorBrightBlueStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color("12")). Bold(true)
listにチェック済みの色
View Source
var ColorBrightGreenStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color("10")). Bold(true)
list移動時のカーソルがさしてる時の色
View Source
var ColorBrightRedBoldStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color("9")). Bold(true)
error字のタイトル色
View Source
var ColorLightPinkStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color("#FFB6C1")). Bold(false)
各Viewのヘッダ文言用
View Source
var ConfigFilePath = ""
Functions ¶
func GetCoveragedFilePaths ¶
func GetPHPCodeFilePaths ¶
func GetPHPTestFilePaths ¶
func StoreConfig ¶
Types ¶
type Config ¶
type Config struct {
// 実行されるphpコマンドの前に指定するコマンドを設定
CommandToSpecifyBeforePHPCommand string
// 直前に実行されたpucoで選択されたテストファイルパスとカバレッジ対象のパスを残す
// 設定ファイルに微妙な感じだけど...あと、プロジェクト関係なくなのを何とかしたい気もする
LatestExecutedData struct {
SelectedTestFilePaths []string
SelectedCoverageTargetPaths []string
}
}
func LoadConfig ¶
func (Config) IsMatchedCoverageTargetFile ¶
直前の実行時に選択されたカバレッジ取得対象ファイルと合致してるか
func (Config) IsMatchedTestFile ¶
直前の実行時に選択されたテストファイルと合致してるか
Click to show internal directories.
Click to hide internal directories.