<commit_before>class Testkube < Formula
  desc "Kubernetes-native framework for test definition and execution"
  homepage "https://testkube.io"
  url "https://github.com/kubeshop/testkube/archive/refs/tags/v1.1.9.tar.gz"
  sha256 "754b6088d5b43e589cf64292757945a750d6809eb796c11de554e074a7ae9873"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "76cba4499400f83265e3efab9343d0a9d79070b46785f01e232e1fa4ea4618e9"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "76cba4499400f83265e3efab9343d0a9d79070b46785f01e232e1fa4ea4618e9"
    sha256 cellar: :any_skip_relocation, monterey:       "a57a41cb16bb37fe99c2b37782d3a81c6c625564e6c4750f06639fd5e8244dee"
    sha256 cellar: :any_skip_relocation, big_sur:        "a57a41cb16bb37fe99c2b37782d3a81c6c625564e6c4750f06639fd5e8244dee"
    sha256 cellar: :any_skip_relocation, catalina:       "a57a41cb16bb37fe99c2b37782d3a81c6c625564e6c4750f06639fd5e8244dee"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "acde8e171763abcf01740c89c564a44657c560670933677d3d44bb59aa3945e6"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.builtBy=#{tap.user}
    ]

    system "go", "build", *std_go_args(output: bin/"kubectl-testkube", ldflags: ldflags),
      "cmd/kubectl-testkube/main.go"
  end

  test do
    output = shell_output("#{bin}/kubectl-testkube get tests 2>&1", 1)
    assert_match("error: invalid configuration: no configuration has been provided", output)

    output = shell_output("#{bin}/kubectl-testkube help")
    assert_match("Testkube entrypoint for kubectl plugin", output)
  end
end
<commit_msg>testkube: update 1.1.9 bottle.<commit_after>class Testkube < Formula
  desc "Kubernetes-native framework for test definition and execution"
  homepage "https://testkube.io"
  url "https://github.com/kubeshop/testkube/archive/refs/tags/v1.1.9.tar.gz"
  sha256 "754b6088d5b43e589cf64292757945a750d6809eb796c11de554e074a7ae9873"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "cfeb169ff0d279e7ccd20a6fff5ae99a074b8f4d8223d0cf5a45d9293f07a909"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "cfeb169ff0d279e7ccd20a6fff5ae99a074b8f4d8223d0cf5a45d9293f07a909"
    sha256 cellar: :any_skip_relocation, monterey:       "f44574dfffa07ff4223667362d7b7d72c8be8417030a46b8476a26134ee4801a"
    sha256 cellar: :any_skip_relocation, big_sur:        "f44574dfffa07ff4223667362d7b7d72c8be8417030a46b8476a26134ee4801a"
    sha256 cellar: :any_skip_relocation, catalina:       "f44574dfffa07ff4223667362d7b7d72c8be8417030a46b8476a26134ee4801a"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "4fd7de9ae45b60ac79fa322183d0243689e79e48c8c36486251f85a347c72222"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.builtBy=#{tap.user}
    ]

    system "go", "build", *std_go_args(output: bin/"kubectl-testkube", ldflags: ldflags),
      "cmd/kubectl-testkube/main.go"
  end

  test do
    output = shell_output("#{bin}/kubectl-testkube get tests 2>&1", 1)
    assert_match("error: invalid configuration: no configuration has been provided", output)

    output = shell_output("#{bin}/kubectl-testkube help")
    assert_match("Testkube entrypoint for kubectl plugin", output)
  end
end

{'fraction_non_alphanumeric': 0.09315866084425037, 'fraction_numerical': 0.19534206695778747, 'mean_word_length': 5.124777183600713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '723558', 'n_tokens_mistral': 1815, 'n_tokens_neox': 1443, 'n_words': 211}