jdev - 2021-11-21

  1. sonny has left
  2. sonny has joined
  3. sonny has left
  4. sonny has joined
  5. Apollo has joined
  6. goffi has left
  7. kikuchiyo has left
  8. kikuchiyo has joined
  9. Kev has left
  10. Kev has joined
  11. debacle has left
  12. debacle has joined
  13. marc0s has left
  14. marc0s has joined
  15. thomaslewis has joined
  16. Kev has left
  17. Kev has joined
  18. thomaslewis has left
  19. Kev has left
  20. Kev has joined
  21. serge90 has left
  22. serge90 has joined
  23. Kev has left
  24. Yagizа has joined
  25. Kev has joined
  26. marc0s has left
  27. marc0s has joined
  28. xecks has left
  29. Kev has left
  30. Kev has joined
  31. kikuchiyo has left
  32. kikuchiyo has joined
  33. Kev has left
  34. Kev has joined
  35. xecks has joined
  36. sonny has left
  37. xecks has left
  38. marc0s has left
  39. marc0s has joined
  40. Neustradamus has left
  41. Ge0rG has left
  42. pasdesushi has left
  43. qrpnxz has left
  44. qrpnxz has joined
  45. qrpnxz has left
  46. qrpnxz has joined
  47. Apollo has left
  48. qrpnxz has left
  49. qrpnxz has joined
  50. qrpnxz has left
  51. qrpnxz has joined
  52. Neustradamus has joined
  53. Neustradamus has left
  54. Neustradamus has joined
  55. debacle has left
  56. Kiwi has left
  57. thomaslewis has joined
  58. Kiwi has joined
  59. thomaslewis has left
  60. marc0s has left
  61. marc0s has joined
  62. Pete has left
  63. thomaslewis has joined
  64. thomaslewis has left
  65. kikuchiyo has left
  66. Pete has joined
  67. kikuchiyo has joined
  68. Kev has left
  69. Kev has joined
  70. dezant has left
  71. dezant has joined
  72. sander has left
  73. sander has joined
  74. thomaslewis has joined
  75. thomaslewis has left
  76. Kev has left
  77. Kev has joined
  78. homebeach has left
  79. Matrix Traveler (bot) has left
  80. Server Stats Discoverer (traveler bot) has left
  81. Server Stats Discoverer (traveler bot) has joined
  82. Matrix Traveler (bot) has joined
  83. homebeach has joined
  84. Trbl has joined
  85. kikuchiyo has left
  86. marc0s has left
  87. marc0s has joined
  88. dezant has left
  89. Kev has left
  90. Kev has joined
  91. Ge0rG has joined
  92. kikuchiyo has joined
  93. thomaslewis has joined
  94. thomaslewis has left
  95. raghavgururajan has left
  96. jgart has left
  97. al has joined
  98. jgart has joined
  99. hiran has joined
  100. Squeaky Latex Folf has left
  101. Squeaky Latex Folf has joined
  102. kikuchiyo has left
  103. kikuchiyo has joined
  104. xecks has joined
  105. Kev has left
  106. Kev has joined
  107. Kev has left
  108. Kev has joined
  109. sander has left
  110. pasdesushi has joined
  111. al has left
  112. goffi has joined
  113. Kev has left
  114. Kev has joined
  115. Squeaky Latex Folf has left
  116. kikuchiyo has left
  117. Squeaky Latex Folf has joined
  118. nephele has joined
  119. Kev has left
  120. marmistrz has joined
  121. Kev has joined
  122. kikuchiyo has joined
  123. atomicwatch has joined
  124. al has joined
  125. Kev has left
  126. hiran has left
  127. Kev has joined
  128. moparisthebest has left
  129. moparisthebest has joined
  130. mac has left
  131. mac has joined
  132. marmistrz has left
  133. Kev has left
  134. Kev has joined
  135. kikuchiyo has left
  136. al has left
  137. Kev has left
  138. Kev has joined
  139. kikuchiyo has joined
  140. debacle has joined
  141. Apollo has joined
  142. Squeaky Latex Folf has left
  143. 9lakes has left
  144. Squeaky Latex Folf has joined
  145. marmistrz has joined
  146. SouL has left
  147. SouL has joined
  148. msavoritias has joined
  149. mac has left
  150. nephele has left
  151. marc0s has left
  152. marc0s has joined
  153. sonny has joined
  154. xecks has left
  155. sonny has left
  156. sonny has joined
  157. marmistrz has left
  158. marmistrz has joined
  159. sonny has left
  160. sonny has joined
  161. sonny has left
  162. sonny has joined
  163. phikoen has left
  164. phikoen has joined
  165. marc0s has left
  166. marc0s has joined
  167. sonny has left
  168. nephele has joined
  169. sonny has joined
  170. nephele has left
  171. marc0s has left
  172. marc0s has joined
  173. marc0s has left
  174. marc0s has joined
  175. marc0s has left
  176. marc0s has joined
  177. sonny has left
  178. sonny has joined
  179. marc0s has left
  180. marc0s has joined
  181. xecks has joined
  182. goffi has left
  183. goffi has joined
  184. jgart has left
  185. marc0s has left
  186. marc0s has joined
  187. phikoen has left
  188. phikoen has joined
  189. Trbl has left
  190. Trbl has joined
  191. sonny has left
  192. sonny has joined
  193. Trbl has left
  194. Trbl has joined
  195. marc0s has left
  196. marc0s has joined
  197. Trbl has left
  198. Trbl has joined
  199. Trbl has left
  200. Trbl has joined
  201. Kev has left
  202. Kev has joined
  203. qrpnxz has left
  204. qrpnxz has joined
  205. qrpnxz has left
  206. qrpnxz has joined
  207. qrpnxz has left
  208. qrpnxz has joined
  209. qrpnxz has left
  210. qrpnxz has joined
  211. sonny has left
  212. 9lakes has joined
  213. sonny has joined
  214. rafasaurus has left
  215. rafasaurus has joined
  216. marc0s has left
  217. marc0s has joined
  218. marc0s has left
  219. marc0s has joined
  220. msavoritias has left
  221. msavoritias has joined
  222. marc0s has left
  223. marc0s has joined
  224. kikuchiyo has left
  225. test1 has joined
  226. test1 has left
  227. kikuchiyo has joined
  228. emus has left
  229. marc has left
  230. marc0s has left
  231. marc0s has joined
  232. emus has joined
  233. qrpnxz has left
  234. qrpnxz has joined
  235. qrpnxz has left
  236. qrpnxz has joined
  237. sonny has left
  238. sonny has joined
  239. test1 has joined
  240. goffi has left
  241. goffi has joined
  242. debacle has left
  243. test1 has left
  244. goffi has left
  245. goffi has joined
  246. marc0s has left
  247. marc0s has joined
  248. marc0s has left
  249. marc0s has joined
  250. atomicwatch has left
  251. marc has joined
  252. marc0s has left
  253. marc0s has joined
  254. Trbl has left
  255. Trbl has joined
  256. mac has joined
  257. dezant has joined
  258. marc0s has left
  259. marc0s has joined
  260. qrpnxz has left
  261. qrpnxz has joined
  262. sander has joined
  263. marc0s has left
  264. marc0s has joined
  265. pulkomandy has left
  266. pulkomandy has joined
  267. xecks has left
  268. qrpnxz has left
  269. qrpnxz has joined
  270. qrpnxz has left
  271. qrpnxz has joined
  272. sander has left
  273. eta has left
  274. eta has joined
  275. emus has left
  276. xecks has joined
  277. Yagizа has left
  278. marc0s has left
  279. marc0s has joined
  280. me9 has joined
  281. kikuchiyo has left
  282. marc0s has left
  283. marc0s has joined
  284. kikuchiyo has joined
  285. emus has joined
  286. atomicwatch has joined
  287. goffi has left
  288. goffi has joined
  289. sonny has left
  290. sonny has joined
  291. sander has joined
  292. sonny has left
  293. sonny has joined
  294. Depp has joined
  295. sonny has left
  296. sonny has joined
  297. Depp has left
  298. mac has left
  299. sander has left
  300. raghavgururajan has joined
  301. PapaTutuWawa has joined
  302. Yagizа has joined
  303. sonny has left
  304. sonny has joined
  305. rom1dep has left
  306. Yagizа has left
  307. sonny has left
  308. sonny has joined
  309. atomicwatch has left
  310. rom1dep has joined
  311. xecks has left
  312. sonny has left
  313. sonny has joined
  314. nephele has joined
  315. goffi has left
  316. jgart has joined
  317. thomaslewis has joined
  318. goffi has joined
  319. thomaslewis has left
  320. sonny has left
  321. sonny has joined
  322. me9 has left
  323. larma has left
  324. sonny has left
  325. sonny has joined
  326. thomaslewis has joined
  327. thomaslewis has left
  328. sonny has left
  329. sonny has joined
  330. Yagizа has joined
  331. debacle has joined
  332. marc0s has left
  333. marc0s has joined
  334. thomaslewis has joined
  335. marc0s has left
  336. marc0s has joined
  337. thomaslewis has left
  338. sonny has left
  339. sonny has joined
  340. sonny has left
  341. sonny has joined
  342. marc has left
  343. sander has joined
  344. marc has joined
  345. 9lakes has left
  346. lovetox i wonder how xmpp libs do unittests
  347. lovetox i had multiple ideas but all seem not perfect
  348. lovetox first i could spin up a server and exchange some stanzas to test some specific cases
  349. lovetox like publishing something to pubsub
  350. sonny has left
  351. sonny has joined
  352. lovetox but you cant test everything with that setup, mostly IQ stuff where the target is the server
  353. lovetox also it gets more complex, if you need stuff setup before on the server
  354. marc0s has left
  355. marc0s has joined
  356. lovetox but in theory it would be really nice, because that really end 2 end, and you could spin up multiple servers and test
  357. dezant has left
  358. lovetox question is, is this really necessary
  359. lovetox in theory i know wht the server must answer because of the specs
  360. lovetox and im testing my lib here and not server implementatons
  361. sander has left
  362. lovetox which brings me to another idea, a kind of own application, a server/client fake thingy
  363. lovetox that does not really behave like a server or client, maybe i communicate a testcase, afterwards the app just replays some kind of setup stanza flow
  364. lovetox such a app would be nice, because it could be independent, like i set it up, some client connects communicates a testcase according to some spec
  365. lovetox the testcase is somewhere written down
  366. lovetox and then the app just plays it through
  367. bung has joined
  368. lovetox for example client connects and sends: <testcase name="invalid-pubsub-event-message">
  369. lovetox and then the server just sends you some not according to spec pubsub messages
  370. lovetox writing such a app and a basic doc how it behaves is probably a weekend work
  371. lovetox and people could then add new testcases with unique names, and describe them in some wiki
  372. lovetox every client could choose which testcases it wants to execute
  373. mac has joined
  374. Sam I do both of those things in Mellium. For unit tests on anything more complicated than "serialize this to XML and make sure the output matches" I have a dummy XMPP session thing that just records anything sent/received over it and I can have a dummy listener sending pre-canned responses, then I can check that the final exchange looks right. For integration tests I have a thing that can spin up an actual server (prosody or ejabberd right now) and do stuff against them.
  375. Sam The integration test can also spin up a client (mcabber or sendxmpp or itself) so that you can have a remote client to communicate with through a server
  376. thomaslewis has joined
  377. marc0s has left
  378. marc0s has joined
  379. thomaslewis has left
  380. sonny has left
  381. sonny has joined
  382. goffi has left
  383. Zash Looking for the reverse of https://matthewwild.co.uk/projects/scansion/ ?
  384. lovetox yeah Zash
  385. lovetox but is it really a client Zash?
  386. lovetox what makes it to a client?
  387. sonny has left
  388. sonny has joined
  389. pep. It's a client because it connects like a client, it talks like a client, it ducks like a client? :P
  390. Zash In its current form, it connects to a server and sends the "Someone sends" stanzas, reads something back and compares it to "Someone receives"
  391. Zash Not sure how much work it would be to invert it, probably not too hard actually.
  392. pep. Isn't it a client as long as it opens the stream with jabber:client? :)
  393. lovetox Zash, does it need a full authenticated stream for every testcase?
  394. moparisthebest So that means things that connect with websockets are not clients pep. ? :)
  395. pep. moparisthebest, that
  396. flow lovetox, Smack does have a dummy connection and protocol verification mechanism for unit tests. And an integration test framework which runs tests against a real server. Openfire picked the integration test framework up to test the server implementation
  397. lovetox Zash, if i understand correctly there is not much to invert, the testcase just needs to start with "receive"
  398. lovetox and of course it needs to be added that it runs and waits for something to connect ot it
  399. Zash lovetox, it uses actual connections to a server. by "invert" I mean making scansion pretend to be a server and accept client connections to it, somehow. then it could probably use the same tests, just flip the meanings of "sends" and "receives" to make sense
  400. flow I hoped that we will one day have someting like https://cdecker.github.io/lightning-integration/ or https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-01, that is, a common abstraction of an implementation that allows us to test multiple different implementations against each other
  401. Zash It would be pretty cool if you could use the same test scripts to test both clients and servers 😀
  402. lovetox flow, sounds like lightyears away :D
  403. flow lovetox, just needs someone with enough time and skill
  404. goffi has joined
  405. flow so yeah, maybe lightyears, but maybe only lightseconds
  406. PapaTutuWawa has left
  407. homebeach has left
  408. Matrix Traveler (bot) has left
  409. Server Stats Discoverer (traveler bot) has left
  410. Server Stats Discoverer (traveler bot) has joined
  411. Matrix Traveler (bot) has joined
  412. homebeach has joined
  413. Pete has left
  414. PapaTutuWawa has joined
  415. Yagizа has left
  416. Yagizа has joined
  417. raghavgururajan has left
  418. Apollo has left
  419. Pete has joined
  420. Apollo has joined
  421. dezant has joined
  422. mac has left
  423. mac has joined
  424. hiran has joined
  425. Yagizа has left
  426. moparisthebest has left
  427. moparisthebest has joined
  428. thomaslewis has joined
  429. thomaslewis has left
  430. sonny has left
  431. sonny has joined
  432. xecks has joined
  433. sonny has left
  434. sonny has joined
  435. sonny has left
  436. sonny has joined
  437. moparisthebest has left
  438. dezant has left
  439. sonny has left
  440. sonny has joined
  441. me9 has joined
  442. moparisthebest has joined
  443. sonny has left
  444. dezant has joined
  445. sonny has joined
  446. sonny has left
  447. sonny has joined
  448. sonny has left
  449. sonny has joined
  450. sonny has left
  451. sonny has joined
  452. sander has joined
  453. sander has left
  454. 9lakes has joined
  455. raghavgururajan has joined
  456. bung has left
  457. me9 has left
  458. nephele has left
  459. sander has joined
  460. msavoritias has left
  461. sander has left
  462. marc0s has left
  463. marc0s has joined
  464. sander has joined
  465. PapaTutuWawa has left
  466. thomaslewis has joined
  467. thomaslewis has left
  468. pasdesushi has left
  469. thomaslewis has joined
  470. thomaslewis has left
  471. emus has left
  472. marc has left
  473. dezant has left
  474. dezant has joined
  475. sonny has left
  476. sonny has joined
  477. debacle has left