<commit_before>package com.stratio.specs;

import com.stratio.specs.BaseGSpec;

import cucumber.api.java.Before;

public class HookGSpec extends BaseGSpec {
	public HookGSpec(CommonG spec) {
		this.commonspec = spec;
	}

	@Before(order = 0)
	public void globalSetup() {
		commonspec.getLogger().info("Clearing exception list");
		commonspec.getExceptions().clear();
	}
}<commit_msg>Skeleton for Mongo and Cassandra clients setup and teardown<commit_after>package com.stratio.specs;

import com.stratio.specs.BaseGSpec;

import cucumber.api.java.After;
import cucumber.api.java.Before;

public class HookGSpec extends BaseGSpec {
	public HookGSpec(CommonG spec) {
		this.commonspec = spec;
	}

	@Before(order = 0)
	public void globalSetup() {
		commonspec.getLogger().info("Clearing exception list");
		commonspec.getExceptions().clear();
	}

	@Before("@C*")
	public void cassandraSetup() {
		commonspec.getLogger().info("Setting up C* client");
	}

	@Before("@MongoDB")
	public void mongoSetup() {
		commonspec.getLogger().info("Setting up MongoDB client");
	}

	@After("@C*")
	public void cassandraTeardown() {
		commonspec.getLogger().info("Shutdown  C* client");
	}

	@After("@MongoDB")
	public void mongoTeardown() {
		commonspec.getLogger().info("Shutdown MongoDB client");
	}
}
{'fraction_non_alphanumeric': 0.1387373343725643, 'fraction_numerical': 0.001558846453624318, 'mean_word_length': 5.263414634146342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1553544', 'n_tokens_mistral': 464, 'n_tokens_neox': 433, 'n_words': 90}