Posts by Rafael Chaves • 83 points
6 posts
-
1
votes1
answer26
viewsQ: Ruby unit test does not work
I am running a simple unit test and on my machine it does not show whether the test ran successfully or error. My code below should give a flaw. require 'minitest/autorun' class MagicBallTest <…
-
2
votes1
answer87
viewsQ: How to create bookmark in logback?
I am trying to create a bookmark inside my logback appender and could not. My code is <appender name="ErrorFile" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!-- Support…
-
0
votes1
answer265
viewsA: Error testing a route with Apache Camel
I am no longer using camelTestSupport. See how my classes look in the following thread: /questions/111116/n%C3%A3o-can-inject-Depend%C3%Aancia-do-spring-during-test-de-integra%C3%A7%C3%A3o-do-Camel.…
-
0
votes1
answer265
viewsQ: Error testing a route with Apache Camel
I have an application running Apache Camel and now I’m implementing tests integrated in it. I have here a class that does the route function: @Component public class CoreRouteBuilder extends…
-
4
votes3
answers1189
viewsQ: Python NLTK method that returns a syntactic tree
I’m using the NLTK Forest library and I saw there that has some sentences with parse (syntactic tree) already created. However, I would like a method that from a new phrase it creates the parse in…
-
1
votes4
answers9178
viewsQ: Regex to pick a text between <>
I’m trying to pick a word between <>. For example: Text: "Joao <[email protected]>" My regex should take [email protected], but it’s catching <[email protected]> The regex I’m using is…