<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>https://dosideas.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Integrando_JasmineJS_con_Ant</id>
		<title>Integrando JasmineJS con Ant - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="https://dosideas.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Integrando_JasmineJS_con_Ant"/>
		<link rel="alternate" type="text/html" href="https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;action=history"/>
		<updated>2026-06-01T01:40:21Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6822&amp;oldid=prev</id>
		<title>Favio.tolosa en 16:54 21 mar 2013</title>
		<link rel="alternate" type="text/html" href="https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6822&amp;oldid=prev"/>
				<updated>2013-03-21T16:54:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='es'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión del 16:54 21 mar 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:JasmineJs]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en Javascript. Para lograr esto, vamos a valernos de [http://phantomjs.org/ PhantomJs]. Esto es un ejecutable que simula ser un navegador web sin la parte visual, que nos brindará un entorno en el cual correremos nuestras pruebas.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en Javascript. Para lograr esto, vamos a valernos de [http://phantomjs.org/ PhantomJs]. Esto es un ejecutable que simula ser un navegador web sin la parte visual, que nos brindará un entorno en el cual correremos nuestras pruebas.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Favio.tolosa</name></author>	</entry>

	<entry>
		<id>https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6807&amp;oldid=prev</id>
		<title>Emiliano.tebes: /* Integración de Jasmine con Ant */</title>
		<link rel="alternate" type="text/html" href="https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6807&amp;oldid=prev"/>
				<updated>2013-03-14T17:56:49Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Integración de Jasmine con Ant&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='es'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión del 17:56 14 mar 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Integración de Jasmine con Ant ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en Javascript. Para lograr esto, vamos a valernos de [http://phantomjs.org/ PhantomJs]. Esto es un ejecutable que simula ser un navegador web sin la parte visual, que nos brindará un entorno en el cual correremos nuestras pruebas.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en Javascript. Para lograr esto, vamos a valernos de [http://phantomjs.org/ PhantomJs]. Esto es un ejecutable que simula ser un navegador web sin la parte visual, que nos brindará un entorno en el cual correremos nuestras pruebas.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Emiliano.tebes</name></author>	</entry>

	<entry>
		<id>https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6806&amp;oldid=prev</id>
		<title>Emiliano.tebes: Página creada con '== Integración de Jasmine con Ant ==  Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en…'</title>
		<link rel="alternate" type="text/html" href="https://dosideas.com/wiki/index.php?title=Integrando_JasmineJS_con_Ant&amp;diff=6806&amp;oldid=prev"/>
				<updated>2013-03-14T17:56:36Z</updated>
		
		<summary type="html">&lt;p&gt;Página creada con &amp;#039;== Integración de Jasmine con Ant ==  Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Integración de Jasmine con Ant ==&lt;br /&gt;
&lt;br /&gt;
Vamos a suponer que tenemos un proyecto web que usa [http://ant.apache.org/ ant], y queremos agregar tests para nuestro código escrito en Javascript. Para lograr esto, vamos a valernos de [http://phantomjs.org/ PhantomJs]. Esto es un ejecutable que simula ser un navegador web sin la parte visual, que nos brindará un entorno en el cual correremos nuestras pruebas.&lt;br /&gt;
&lt;br /&gt;
Lo que haremos en primera instancia es agregar los ejecutables y dependencias de Phantom a nuestro proyecto. Luego tenemos que agregar una tarea ant a nuestro archivo xml, invocando a dicho ejecutable:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Build.xml'''''&lt;br /&gt;
&amp;lt;code lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;target name=&amp;quot;testJavascript&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;echo&amp;gt;Ejecutando tests de javascript...&amp;lt;/echo&amp;gt;&lt;br /&gt;
      &amp;lt;exec executable=&amp;quot;Path del archivo ejecutable de phantom&amp;quot; failonerror=&amp;quot;true&amp;quot; &amp;gt;&lt;br /&gt;
          &amp;lt;arg value=&amp;quot;Path del runner para jasmine” /&amp;gt;&lt;br /&gt;
          &amp;lt;arg value=&amp;quot;Path del html que contiene los archivos js, y sus respectivos tests&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;arg value=&amp;quot;500&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;/exec&amp;gt;&lt;br /&gt;
      &amp;lt;echo&amp;gt;La ejecución de los test ha finalizado.&amp;lt;/echo&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Al invocar al ejecutable de Phantom, notemos que debemos agregar 3 parámetros:&lt;br /&gt;
* la ruta de un runner para Jasmine.&lt;br /&gt;
* la ruta del archivo html que contiene las inclusiones de los Js productivos y de tests&lt;br /&gt;
* Un timeout.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Fuentes''':&lt;br /&gt;
&lt;br /&gt;
[http://phantomjs.org/ PhantomJs]&lt;br /&gt;
&lt;br /&gt;
[http://creynders.wordpress.com/2012/03/14/automating-javascript-builds/ Jasmine + Ant]&lt;/div&gt;</summary>
		<author><name>Emiliano.tebes</name></author>	</entry>

	</feed>